Skip to content

Commit 4035035

Browse files
committed
updated Readme for virtualenv instructions
1 parent 60e5a6e commit 4035035

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,19 @@ First, clone the repository to your local machine:
1818
git clone https://github.com/suhailvs/django-schools
1919
```
2020

21-
Install the requirements:
21+
Create Virtual Env and Install the requirements:
2222

2323
```bash
24+
cd django-schools
25+
python3 -m venv env
26+
source ./env/bin/activate
2427
pip install -r requirements.txt
2528
```
2629

2730
Create the database:
2831

2932
```bash
33+
cd django-schools
3034
python manage.py migrate
3135
```
3236

@@ -41,7 +45,17 @@ Finally, run the development server:
4145
python manage.py runserver
4246
```
4347

44-
The project will be available at http://127.0.0.1:8000.
48+
The project will be available at http://127.0.0.1:8000, Login using::
49+
50+
**Teacher**
51+
52+
username: `sumee`
53+
password: `sumee1910`
54+
55+
**Student**
56+
57+
username: `suhail`
58+
password: `sumee1910`
4559

4660

4761
## License

0 commit comments

Comments
 (0)