https://github.com/rochelle-rossman/green-haven-client
-
Navigate to where you want to clone the repo in your terminal
-
Clone Repo on to Local Machine
git clone git@github.com:rochelle-rossman/green-haven-server.git
-
Open Cloned Project
cd green-haven-server code .
-
Create Virtual Envirunment
pipenv shell
-
Select interpreter within vscode
- Open your Command Palette: Shift + Command + P (Mac) Ctrl + Shift + P(Windows/Linux)
- Search for "Python: Select Interpreter"
- Select the interpreter that includes
green-haven-server
in the name.
-
Install Dependencies
pipenv install
-
Run Migrations
python manage.py migrate
-
Start Project
python manage.py runserver
-
View the API
Performing system checks... System check identified no issues (0 silenced). March 15, 2023 - 19:25:54 Django version 4.1.6, using settings 'greenhaven.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C.