Giter VIP home page Giter VIP logo

openeats's Introduction

#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

openeats's People

Contributors

qgriffith avatar pando85 avatar wraithan avatar

Stargazers

 avatar Reid Sunderland avatar  avatar  avatar David Abutbul avatar kylma avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

openeats's Issues

can't access images

Hi, I don't know if you are still working on this or not but I wonder if you could help.
I have installed your branch of openeats on a couple of different servers and run into the same issue each time.
Images upload fine and I can see them in the docker volumes but I can't access the images from the website.
I think the thumbnails are being created but I can't see them or the pictures themselves after they are uploaded.
Any ideas?

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.