Geffrerson7 / TODO-APP-DJANGO

Todo app with Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO-APP-DJANGO

Description

App made with django and python to create tasks, mark tasks as done and delete tasks

Getting Started

First clone the repository from Github and switch to the new directory:

    git clone https://github.com/Geffrerson7/TODO-APP-DJANGO.git
    cd TODO-APP-DJANGO

Activate the virtualenv for your project.

$ virtualenv venv
# windows
$ source venv/Scripts/activate
# Linux
$ source venv/bin/activate

Install project dependencies:

    (venv)$ pip install -r requirements.txt

Then simply apply the migrations:

    (venv)$ python manage.py makemigrations taskapp
    (venv)$ python manage.py migrate

You can now run the development server:

    (venv)$ python manage.py runserver

And navigate to

http://127.0.0.1:8000/

Local Installation with Docker

Clone the respository

$ git clone https://github.com/Geffrerson7/TASK-API.git

Navigate to the new directory

$ cd TASK-API

Use Docker Compose to build and start the project:

$ docker-compose up

Once the project is up and running, apply migrations to set up the database:

$ docker-compose exec web python manage.py migrate

After applying migrations, navigate to the following URL in your web browser:

http://127.0.0.1:8000/

Author

About

Todo app with Django

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 76.9%Language:HTML 20.5%Language:Dockerfile 2.6%