After cloning follow the steps to setup
- Create virtual environment with Pyenv/virtualenv for python
- pip install -r requirements.txt
python manage.py run
- python manage.py db init
- python manage.py db migrate
- python manage.py db upgrade
- Create {model}.py files in the models folder
- import the same file in the models/init.py
- run the db migrate and upgrade command again
- Create the {route}.py file in the route folder
- import the file into routes/init.py
- if the routes are blueprint then register the blueprint under 'register_blueprints' function in the init.py files
- If the routes are flask RESTful, api.add_resource({RESTful_name}, '{route}')
Add any interaction with data and models into the services folder
Add the utility functions in the 'utils' folder.
- Open the settings.py in the root folder
- Change the database URI in SQLALCHEMY_DATABASE_URI based on the development env