Skip to content

antos07/int20h-2023-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

int20h-2023-test

Where to test?

Here or locally using docker

How to run locally using docker-compose?

  1. Clone the repo Create .env file, which should contain the following lines:

    MYSQL_ROOT_PASSWORD=< insert any password here >

    MYSQL_DJANGO_PASSWORD=< insert any password here >

  2. Deploy the project using docker compose: docker compose up

  3. Open terminal at the website service

  4. Run database migrations: python3 manage.py migrate

  5. Fetch data from TheMealDB.com: python3 manage.py syncwtihthemealdb

  6. Enjoy :)

Used meal database

TheMealDB

Where main site is running?

Pythonanywhere