Skip to content

Commit a9dbc98

Browse files
committed
updated readme.md
1 parent cd0d597 commit a9dbc98

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Pipfile

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ markdown2 = "*"
3030
django-widget-tweaks = "*"
3131
django-mptt = "*"
3232
django-awesome-avatar = "*"
33+
setuptools = "*"
3334

3435
[requires]
3536
python_version = "3.8"

Pipfile.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

readme.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,19 @@ To put it simply, adding a compiler like Cloud9 IDE or Sphere online judge is go
2424

2525
## How to use this? 💡
2626

27-
- Clone this repository. Install the requirements by activating `pipenv shell`, and running `pipenv install`.
28-
- Add this app to your project directory and then in your `settings.py` as well.
29-
- Make and run the migrations!
30-
- Add the appropriate urls (`path('', include('coder.urls'))`) in your project's `urls.py` file.
27+
- Add “coder” to your INSTALLED_APPS setting like this:
28+
```
29+
INSTALLED_APPS = [
30+
...
31+
'coder',
32+
]
33+
```
34+
Include the polls URLconf in your project urls.py like this:
35+
36+
`path('coder/', include('coder.urls')),`
37+
Run python manage.py migrate to create the polls models.
38+
39+
- Run the migrations!
3140
- Run the server. And get on your [`localhost:8000/admin`](https://localhost:8000/admin/)
3241
- You will notice the coder app and it's models quite like this :
3342
![image](https://user-images.githubusercontent.com/41021374/88209550-7e902200-cc70-11ea-9860-7a9cf432514c.png)

0 commit comments

Comments
 (0)