You will need pipenv
installed on your machine. Open a terminal and run
pip3 install pipenv
To run the code you need to activate the virtual environment. Do the following:
cd ~
git clone [link to repo]
cd [repo name]
virtualenv .
pipenv install
source bin/activate
To deactivate the environment simply type deactivate
in the terminal
- start virtual environment
- type python to open python shell
- type from resources.models import db
- type db.create_all()