generated from GARAGENUM/flask_secure
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Maryam Bint Ibrahim 001de296cc | 1 year ago | |
---|---|---|
.vscode | 1 year ago | |
project | 1 year ago | |
.flaskenv | 1 year ago | |
.gitignore | 1 year ago | |
Procfile | 1 year ago | |
README.md | 1 year ago | |
model.env | 1 year ago | |
requirements.txt | 1 year ago |
README.md
Flask Secure application
This is a template for a Flask application, using Flask-Security-Too and SQLAlchemy.
Usage
- Clone the project
- Rename prod.env or dev.env to .env
- In .env, modify what you need to
- Create and activate python virtual env
- Install requirements with
pip install -r requirements.txt
- Generate secret keys and paswords salts and put them in .env :
openssl rand -hex 32
- Now you can run your app with
flask run