Skip to content

Commit

Permalink
Merge pull request #7 from DoodleyJC/main
Browse files Browse the repository at this point in the history
Changed the structure to allow for running it locally
  • Loading branch information
amine4567 authored Jul 7, 2024
2 parents 2489ac5 + e3fa3cb commit 98485f2
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"remoteUser": "root",
"remoteEnv": {
"PYTHONPATH": "/workspaces/${localWorkspaceFolderBasename}/backend/src"
"PYTHONPATH": "/workspaces/${localWorkspaceFolderBasename}/backend"
},
"postCreateCommand": "cd backend/ && pip install -r requirements-combined.txt"
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ This guide will walk you through the steps to run this repository inside a Devel
### Setup the backend
1. Install `python 3.12`, the instructions may vary by OS and distribution.
2. Make sure you have `pip` installed and linked to correct version of python.
3. Install the necessary python libraries with the following command: `pip install -r backend/src/requirements-combined.txt`
3. Install the necessary python libraries with the following command: `pip install -r backend/requirements-combined.txt`

### Setup the frontend
TODO

## Run the application
### Run the backend alone
- Execute the following command: `invoke run-back`
- Execute the following command: `invoke run-back` while in the folder that has tasks.py

- Check the hello world endpoint: `http://127.0.0.1:5000/api/v1/hello/`

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 98485f2

Please sign in to comment.