Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harshitsahu2311/django-todo-automate


https://github.com/harshitsahu2311/django-todo-automate

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

# Django-todo-automate
A simple todo app built with django

![todo App](https://raw.githubusercontent.com/shreys7/django-todo/develop/staticfiles/todoApp.png)
### Setup
To get this repository, run the following command inside your git enabled terminal
```bash
git clone https://github.com/harshitsahu2311/Django-todo-automate.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

For linux users, command to install django in local system
```bash
sudo pip3 install django
```

Once you have downloaded django, go to the cloned repo directory and run the following command

Now switch to the django-todo folder by
```bash
cd /django-todo
```

```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
```

One last step and then our todo App will be live. We need to create an admin user to run this App. On the terminal, type the following command and provide username, password and email for the admin user
```bash
python manage.py createsuperuser
```

That was pretty simple, right? Now let's make the App live. We just need to start the server now and then we can start using our simple todo App. Start the server by following command

```bash
python manage.py runserver
```

Once the server is hosted, head over to http://127.0.0.1:8000/todos for the App.

Cheers and Happy Coding :)