Git Product home page Git Product logo

devops_todolist_docker_core_task_3_docker_compose's Introduction

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. Prepare a docker-compose.yml file that will build and start both MySQL db and Todolist app
  2. Remove RUN python manage.py migrate as the database is no longer available at the build time
  3. Refactor ENTRYPOINT to execute both db migration and application start. Example: ENTRYPOINT ["sh", "-c", “command1 && command2”]
  4. The application should work with no issues after running docker-compose up
  5. Update the README.md file by adding a new section with instructions on how to run and stop containers with docker-compose
  6. Todos should be stored in MySQL Database, with a persistent volume connected
  7. Create PR with your changes and attach it for validation on a platform

devops_todolist_docker_core_task_3_docker_compose's People

Contributors

iekulyk avatar ykulyk404 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.