https://github.com/geffrerson7/todo-app-django
Todo app with Django
https://github.com/geffrerson7/todo-app-django
bootstrap5 django html python
Last synced: 23 days ago
JSON representation
Todo app with Django
- Host: GitHub
- URL: https://github.com/geffrerson7/todo-app-django
- Owner: Geffrerson7
- Created: 2023-03-22T18:02:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T23:34:48.000Z (about 2 years ago)
- Last Synced: 2024-03-17T23:36:13.686Z (about 2 years ago)
- Topics: bootstrap5, django, html, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
git clone https://github.com/Geffrerson7/TODO-APP-DJANGO.git
```
```bash
cd TODO-APP-DJANGO
```
Activate the virtualenv for your project.
```sh
$ virtualenv venv
# windows
$ source venv/Scripts/activate
# Linux
$ source venv/bin/activate
```
Install project dependencies:
```bash
(venv)$ pip install -r requirements.txt
```
Then simply apply the migrations:
```bash
(venv)$ python manage.py makemigrations taskapp
```
```bash
(venv)$ python manage.py migrate
```
You can now run the development server:
```bash
(venv)$ python manage.py runserver
```
And navigate to
```sh
http://127.0.0.1:8000/
```
## Local Installation with Docker
Clone the respository
```bash
$ git clone https://github.com/Geffrerson7/TASK-API.git
```
Navigate to the new directory
```bash
$ cd TASK-API
```
Use Docker Compose to build and start the project:
```sh
$ docker-compose up
```
Once the project is up and running, apply migrations to set up the database:
```sh
$ docker-compose exec web python manage.py migrate
```
After applying migrations, navigate to the following URL in your web browser:
```sh
http://127.0.0.1:8000/
```
## Author
- [Gefferson Max Casasola Huamancusi](https://www.github.com/Geffrerson7)