Skip to content

Commit c77ce25

Browse files
authored
Update Readme.md
1 parent 7e15f60 commit c77ce25

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
11
# django-todo
22
A simple todo app built with django
3+
4+
### Setup
5+
To get this repository, run the following command inside your git enabled terminal
6+
```bash
7+
$ git clone https://github.com/shreys7/django-todo.git
8+
```
9+
You will need django to be installed in you computer to run this app. Head over to https://www.djangoproject.com/download/ for the download guide
10+
11+
Once you have downloaded django, go to todoApp directory and run the following commands
12+
13+
```bash
14+
$ python manage.py makemigrations
15+
```
16+
17+
This will create all the migrations file (database migrations) required to run this App.
18+
19+
Now, to apply this migrations run the following command
20+
```bash
21+
$ python manage.py migrate
22+
```
23+
24+
That was pretty simple, right? Now let's make the App live. We just need to start the server now and then we will start using our simple todo App. Start the server by following command
25+
26+
```bash
27+
$ python manage.py runserver
28+
```
29+
30+
You can see the line on which the server is hosted. Once the server is hosted, head over to http://127.0.0.1:8000/todos for the App.
31+
32+
Cheers and Happy Coding :)

0 commit comments

Comments
 (0)