-
Navigate to where you want to clone the repo in your terminal
-
Clone Repo on to Local Machine
# HTTPS git clone https://github.com/Repped-In-Tech/pipeline-be.git
# SSH git clone [email protected]:Repped-In-Tech/pipeline-be.git
-
Open Cloned Project
cd pipeline-be; code .;
-
Create Virtual Envirunment
pipenv shell
-
Select interpreter within vscode
- Open your Command Palette
- Search for "Python: Select Interpreter"
- Find the interpreter that includes
pipeline-be-
in the name. If you can't see it off hand, click on the refresh button that's on top of the search bar to the right.
-
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). February 09, 2023 - 15:41:00 Django version 4.1.6, using settings 'pipeline.settings' Starting development server at http://127.0.0.1:8000/ # <= API URL Quit the server with CONTROL-C.
To view the API Documentation, start the server and go to "http://127.0.0.1:8000/docs/#"