Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.
 
 

Latest commit

 

History

593 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#openeats Project Build Status

openeats is a continuation from qgriffith/OpenEats. You can test it here: recetas.grigri.cloud

Changes

  • Updated to Django 1.10
  • Docker-compose to deploy project

Dev deploy

Install and create basic data:

docker-compose up -d database && \
docker-compose run --rm web python manage.py makemigrations && \
docker-compose run --rm web python manage.py migrate && \
docker-compose run --rm web python manage.py collectstatic --noinput --clear && \
docker-compose run --rm web python manage.py createsuperuser

Deploy environment:

docker-compose up -d

Tests

Run tests:

docker-compose run --rm web python manage.py tests

Load fixtures:

docker-compose run --rm web python manage.py loaddata openeats/accounts/fixtures/test_user_data.json
docker-compose run --rm web python manage.py loaddata openeats/list/fixtures/list_test_data.json
docker-compose run --rm web python manage.py loaddata openeats/list/fixtures/aisle_data.json  alex@alex-laptop
docker-compose run --rm web python manage.py loaddata openeats/accounts/fixtures/test_friend_data.json
docker-compose run --rm web python manage.py loaddata openeats/recipe_groups/fixtures/course_data.json
docker-compose run --rm web python manage.py loaddata openeats/recipe_groups/fixtures/cuisine_data.json
docker-compose run --rm web python manage.py loaddata openeats/recipe/fixtures/recipe_data.json
docker-compose run --rm web python manage.py loaddata openeats/ingredient/fixtures/ing_data.json

Prod deploy

Configure editing docker-compose.prod.yml environment variables.

Install and create basic data:

docker-compose -f docker-compose.prod.yml up -d database && \
docker-compose -f docker-compose.prod.yml run --rm web python manage.py makemigrations && \
docker-compose -f docker-compose.prod.yml run --rm web python manage.py migrate && \
docker-compose -f docker-compose.prod.yml run --rm web python manage.py collectstatic --noinput --clear && \
docker-compose -f docker-compose.prod.yml run --rm web python manage.py createsuperuser

Deploy environment:

docker-compose -f docker-compose.prod.yml up -d

Locale

cd web/openeats
django-admin makemessages --all

About

Recipe Management Site created in Django

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages