/DevOps-Project

Primary LanguagePythonApache License 2.0Apache-2.0

django-todo

A simple todo app built with django

Screenshot 2024-03-11 at 10 58 10 PM

Setup

To get this repository, run the following command inside your git enabled terminal

$ git clone https://github.com/harshnayangithub/django-todo.git
$ pip install -r requirements.txt
$ 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

$ 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

$ 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

$ python manage.py runserver

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

Deployed on EC2 Instance- http://44.201.239.99:8000/todos/ This link is not accessible as the EC2 instance has been stopped.