Skip to content

mate-academy/devops_todolist_docker_core_task_4_externalize_configs

Repository files navigation

Django-Todolist

Django-Todolist is a todolist web application with the most basic features of most web apps, i.e. accounts/login, API and (somewhat) interactive UI.


CSS | Skeleton JS | jQuery

Explore

Try it out by installing the requirements. (Works only with python >= 3.8, due to Django 4)

pip install -r requirements.txt

Create a database schema:

python manage.py migrate

And then start the server (default: http://localhost:8000)

python manage.py runserver

Now you can browse the API or start on the landing page

Task

Prerequisites

  • Fork this repository

Requirements

  1. pdate docker-compose to be able to set such env variables:
    • ENGINE
    • NAME
    • USER
    • PASSWORD
    • HOST
    • PORT
  2. Update your app to read ENV vars and set DATABASES section fields inside of todolist/settigns.py file
  3. Use semantic versioning to tag image inside the docker-compose
  4. TODO App should work as before
  5. Create PR with your changes and attach it for validation on a platform