mirror of
https://github.com/its-michaelroy/Deep-Impact.git
synced 2026-06-04 10:20:41 +00:00
Update README.md
This commit is contained in:
21
README.md
21
README.md
@@ -31,24 +31,37 @@ To learn more about Deep Impact, check out our [Deep Impact GitHub](https://gith
|
|||||||
1. **Set Up Python Environment**:
|
1. **Set Up Python Environment**:
|
||||||
- Vanilla Python:
|
- Vanilla Python:
|
||||||
```sh
|
```sh
|
||||||
python -m venv deep-impact-env
|
python -m venv .venv
|
||||||
```
|
```
|
||||||
- Virtual Environment Wrapper:
|
- Virtual Environment Wrapper:
|
||||||
```sh
|
```sh
|
||||||
mkvirtualenv deep-impact-env
|
mkvirtualenv .venv
|
||||||
```
|
```
|
||||||
- Activate the environment:
|
- Activate the environment:
|
||||||
```sh
|
```sh
|
||||||
source deep-impact-env/bin/activate
|
source .venv/bin/activate
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Install Required Packages**:
|
2. **Install Required Packages**:
|
||||||
- Navigate to the backend directory and install dependencies:
|
- Navigate to the backend directory and install dependencies:
|
||||||
```sh
|
```sh
|
||||||
cd Deep-Impact/backend/deep_impact_proj
|
cd Deep-Impact/backend
|
||||||
pip install -r requirements.txt
|
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
|
### Vite Frontend Setup
|
||||||
|
|
||||||
1. **Install Node Modules**:
|
1. **Install Node Modules**:
|
||||||
|
|||||||
Reference in New Issue
Block a user