Update README.md

This commit is contained in:
Karthik JP 2022-09-10 10:45:34 +05:30 committed by GitHub
parent 081a51c5ed
commit c929b73c33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,8 @@ python# CDC - Backend
2. Create a Virtual Environment in the [CDC_Backend](./) folder with this command below <br> 2. Create a Virtual Environment in the [CDC_Backend](./) folder with this command below <br>
`python -m venv venv` `python -m venv venv`
3. Activate the environment with this command <br> 3. Activate the environment with this command <br>
`.\venv\Scripts\activate` `.\venv\Scripts\activate` (for WINDOWS) <br>
`source ./venv/bin/activate` (for LINUX)
4. Install the dependencies <br> 4. Install the dependencies <br>
`pip install -r requirements.txt ` `pip install -r requirements.txt `
5. Ensure that you have the PostgreSQL installed on your machine and is running on PORT **5432** <br> 5. Ensure that you have the PostgreSQL installed on your machine and is running on PORT **5432** <br>
@ -17,7 +18,8 @@ python# CDC - Backend
### Running the Application ### Running the Application
1. Activate the environment with this command. <br> 1. Activate the environment with this command. <br>
`.\venv\Scripts\activate` `.\venv\Scripts\activate` (for WINDOWS) <br>
`source ./venv/bin/activate` (for LINUX)
2. Start the application by running this command (_Run the command where [manage.py](./CDC_Backend/manage.py) is 2. Start the application by running this command (_Run the command where [manage.py](./CDC_Backend/manage.py) is
located_) <br> located_) <br>
` python manage.py runserver` ` python manage.py runserver`