forked from shreys7/django-todo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# django-todo | ||
A simple todo app built with django | ||
|
||
### Setup | ||
To get this repository, run the following command inside your git enabled terminal | ||
```bash | ||
$ git clone https://github.com/shreys7/django-todo.git | ||
``` | ||
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 | ||
|
||
Once you have downloaded django, go to todoApp directory and run the following commands | ||
|
||
```bash | ||
$ python manage.py makemigrations | ||
``` | ||
|
||
This will create all the migrations file (database migrations) required to run this App. | ||
|
||
Now, to apply this migrations run the following command | ||
```bash | ||
$ python manage.py migrate | ||
``` | ||
|
||
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 | ||
|
||
```bash | ||
$ python manage.py runserver | ||
``` | ||
|
||
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. | ||
|
||
Cheers and Happy Coding :) |