Skip to content

Commit 7eb84b1

Browse files
committed
Modified Readme
1 parent 17a9806 commit 7eb84b1

File tree

2 files changed

+27
-11
lines changed

2 files changed

+27
-11
lines changed

Readme.MD

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,38 +23,54 @@ If not please install python first. [Click here for python official page.](https
2323

2424
1. Clone the repository on your machine.
2525

26-
```git clone https://github.com/mohit4/django-hackathon-starter.git```
26+
```
27+
git clone https://github.com/mohit4/django-hackathon-starter.git
28+
```
2729

2830
2. Create virtual environment and install all requirements or just install the requirements directly.
2931

30-
```pip install -r requirements.txt```
32+
```
33+
pip install -r requirements.txt
34+
```
3135

3236
or
3337

34-
```virtualenv myproject```
35-
```myproject\Scripts\activate```
36-
```pip install -r requirements.txt```
38+
```
39+
virtualenv myproject
40+
myproject\Scripts\activate
41+
pip install -r requirements.txt
42+
```
3743

3844
3. Run setup.py to rename your project
3945

40-
```python setup.py < YOUR_PROJECT_NAME >```
46+
```
47+
python setup.py < YOUR_PROJECT_NAME >
48+
```
4149

4250
4. Create migrations and apply
4351

44-
```python manage.py makemigrations```
45-
```python manage.py migrate```
52+
```
53+
python manage.py makemigrations
54+
python manage.py migrate
55+
```
4656

4757
5. Create a superuser, provide the details when prompt
4858

49-
```python manage.py createsuperuser```
59+
```
60+
python manage.py createsuperuser
61+
```
5062

5163
6. Run population script, you can skip this step if you do not want dummy data to be populated
5264

53-
```python populate.py < NO_OF_ENTRIES >```
65+
```
66+
python populate.py < NO_OF_ENTRIES >
67+
```
5468

5569
7. Now everything is done, start the application and type localhost:8000/ in your browser to see the application running
5670

57-
```python manage.py runserver```
71+
```
72+
python manage.py runserver
73+
```
5874

5975
Hurray, your project is running and you are way ahead of your competitors, start modifying the already provided templates and code files to customize your project. Best of luck from DHS Team.
6076

dhs_img.png

8.07 KB
Loading

0 commit comments

Comments
 (0)