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
Michelle Gu edited this page Jun 13, 2018
·
6 revisions
Required Installations
npm
python3
virtualenv
To set up a virtual environment
The first two parts should only be done once
Make sure you have virtualenv installed if not enter pip install virtualenv
Go to your the project's root folder and enter virtualenv -p {path to python3} env
Ex: virtualenv -p /usr/local/bin/python3 env
Activate the virtualenv, enter source {path to env folder}/bin/activate
Now you should see your environment name in paren prepended to your terminal input
To deactivate your virtualenv, enter deactivate
NOTE: Make sure you have activated your virtualenv before installing
To Install npm Dependencies
Run npm install in the fullstack_template/planit-ui directory.
To Install Python3 Dependencies
Run pip3 install -r requirements.txt in the fullstack_template/server directory.
Setting up the database
Go to the directory: fullstack_template/server
Run the command python db_create.py
Run the command python db_setup.py
After you setup your environment and your database, you can now run the server.