Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.55 KB

File metadata and controls

46 lines (33 loc) · 1.55 KB

Django ToDo list

This is a to-do list web application with the basic features of most web apps, i.e., accounts/login, API, and interactive UI. To do this task, you will need:

Explore

Try it out by installing the requirements (the following commands work only with Python 3.8 and higher, due to Django 4):

pip install -r requirements.txt

Create a database schema:

python manage.py migrate

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

python manage.py runserver

You can now browse the API or start on the landing page.

Task

Create a Kubernetes manifest for a pod that will contain a ToDo app container:

  1. Fork this repository.
  2. Create a confgiMap.yml file for ConfigMap resource.
  3. ConfigMap requirements: 3.1. ConfigMap should have a PYTHONUNBUFFERED value set 3.2. Deployment should use this ConfigMap and set the PYTHONUNBUFFERED environment variable
  4. Create a secret.yml file for the Secret resource.
  5. Secret requirements: 5.1. Secret should have a SECRET_KEY value set 5.2. Deployment should use this Secret and set the SECRET_KEY environment variable 5.3. Application should use this secret instead of one hardcoded in settings.py
  6. Create the INSTRUCTION.md with commands to apply all the changes
  7. INSTRUCTION.md should have instructions on how to validate the changes
  8. Create PR with your changes and attach it for validation on a platform.