Basic flask application starter files
-
Pre-requisites
-
Ensure to activate virtual environment called virtual,using:
- source virtual/bin/activate
-
Install flask and pip
-
Install flask_script
-
-
Inside the manage.py module change the config_name parameter from 'production' to 'development' ie app = create_app('production') should be app = create_app ('development')
-
Add the export configurations in a start.sh
- export SECRET_KEY=
"Your secret key" - export API_KEY=
"Your Api key"
- export SECRET_KEY=
-
Run using the executable file ,with command :
./start.sh
For any further inquiries or contributions or comments, reach me at Williams oditi
Copyright (c) 2022