This repository was archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add installation instructions (#129) * Add installation instructions * Update installation page to include links * Update instructions * Add Metadata to Python SDK (#134) * Add Python metadata * Update pyproject.toml * Update pyproject.toml * Fix broken config (#136) Co-authored-by: Dio Gado <[email protected]>
- Loading branch information
1 parent
acd29e6
commit 76415d2
Showing
4 changed files
with
57 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
title: Installation | ||
--- | ||
|
||
## Client SDKs | ||
|
||
- Python: `pip3 install approzium` | ||
|
||
## Authentication server binaries | ||
|
||
- Our binaries are posted with [our releases](https://github.com/cyralinc/approzium/releases). | ||
|
||
## Running the server binary | ||
|
||
### Linux | ||
|
||
Please replace `linux_amd64.zip` with the correct version of Linux for your environment. | ||
|
||
``` | ||
curl https://github.com/cyralinc/approzium/releases/download/v0.1.0/linux_amd64.zip | ||
unzip linux_amd64.zip | ||
chmod +x authenticator | ||
./authenticator | ||
``` | ||
|
||
### Mac | ||
|
||
Please replace `darwin_amd64.zip` with the correct version of Mac for your environment. | ||
|
||
``` | ||
curl https://github.com/cyralinc/approzium/releases/download/v0.1.0/darwin_amd64.zip | ||
unzip darwin_amd64.zip | ||
chmod +x authenticator | ||
./authenticator | ||
``` | ||
|
||
### Windows | ||
|
||
Please replace `windows_amd64.zip` with the correct version of Windows for your environment. | ||
|
||
``` | ||
$url = "https://github.com/cyralinc/approzium/releases/download/v0.1.0/windows_amd64.zip" | ||
$outpath = "$PSScriptRoot/windows_amd64.zip" | ||
Invoke-WebRequest -Uri $url -OutFile $outpath | ||
$wc = New-Object System.Net.WebClient | ||
$wc.DownloadFile($url, $outpath) | ||
$args = @("Comma","Separated","Arguments") | ||
Expand-Archive -LiteralPath $outpath -DestinationPath C:\ $PSScriptRoot | ||
Start-Process -Filepath "$PSScriptRoot/authenticator.exe" -ArgumentList $args | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ build-backend = "poetry.masonry.api" | |
name = "approzium" | ||
version = "0.1.1" | ||
description = "Approzium SDK provides Approzium database authentiation for Python" | ||
authors = ["Cyral <[email protected]>"] | ||
authors = ["Cyral <[email protected]>"] | ||
homepage = "https://github.com/cyralinc/approzium" | ||
license = "Apache-2.0" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.5" | ||
|