Update README.md

This commit is contained in:
Michael Roy
2024-05-19 02:27:07 -04:00
committed by GitHub
parent b422b98123
commit 3a6aeb3866

View File

@@ -31,24 +31,37 @@ To learn more about Deep Impact, check out our [Deep Impact GitHub](https://gith
1. **Set Up Python Environment**:
- Vanilla Python:
```sh
python -m venv deep-impact-env
python -m venv .venv
```
- Virtual Environment Wrapper:
```sh
mkvirtualenv deep-impact-env
mkvirtualenv .venv
```
- Activate the environment:
```sh
source deep-impact-env/bin/activate
source .venv/bin/activate
```
2. **Install Required Packages**:
- Navigate to the backend directory and install dependencies:
```sh
cd Deep-Impact/backend/deep_impact_proj
cd Deep-Impact/backend
pip install -r requirements.txt
```
3. **Initial Migration(s)**:
- Ensure you're located in the path: Deep-Impact/backend
```sh
python manage.py makemigrations
python manage.py migrate
```
4. **Start Django Server**:
- Ensure you're located in the path: Deep-Impact/backend
```sh
python manage.py runserver
```
### Vite Frontend Setup
1. **Install Node Modules**: