Simple, Platform.sh powered, application to share secrets that can be viewed only once
Nikola Kotur d2661fc9b6 frontend: all paths work locally now | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.platform | %!s(int64=5) %!d(string=hai) anos | |
frontend | %!s(int64=5) %!d(string=hai) anos | |
vault | %!s(int64=6) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
LICENSE | %!s(int64=6) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos |
Simple, Platform.sh powered, application to share secrets that can be viewed only once
Create Platform.sh project.
Push code.
On master, create variable env:VAULT_URI
with the URI to the Vault app within the same project (drop the trailing /
).
virtualenv .env
source .env/bin/activate
pip install -r frontend/requirements.txt
FLASK_ENV=development FLASK_APP=frontend/__init__.py flask run --with-threads -h 0.0.0.0 -p 8888
You will be able to access the frontend on localhost:8888.