You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static: contains sub-folders for javascript, css and image files
uploads: for temporary file uploads (better to use S3 for permanent storage)
Important files
app.py: contains server side code responsible for serving HTML files and hosts the API (backend logic). Once we host this app on Heroku, the TG bot can call this API for data
_config.py: contains configuration information like app secret key, database location and other metadata required for flask to render the web app
models.py: contains the definition of the database model for SQLAlchemy to consume
Procfile: Information required by heroku to deploy the app on the cloud
requirements.txt: list of python packages required. Every time you need to install a new package with pip, run pip freeze > requirements.txt to save the current state of required packages
.gitignore: files and file extensions which shouldn't be on github (like .pyc files and your virtualenv folder)
NOTE
Do a git pull everytime master branch is updated to keep your local copy of the project up to date
TODO
Understand/explain directory structure, what package does what and what file does what
Explain flask app flow
List of simple technologies to learn to wrap this app up