Skip to content

Latest commit

 

History

History
87 lines (70 loc) · 1.83 KB

README.md

File metadata and controls

87 lines (70 loc) · 1.83 KB

Dish Decoder

Food/Nutrient related web page, where the user can search for meals depending on some parameters such as ingredients, nutrition values or the recipe name. Additionaly, users will be able to create and share their own recipes and rate the ones from other people.

Summary

Getting Started

These instructions will get you a copy of Dish Decoder up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Install all the dependencies:

$ pip install -r requirements.txt

Migrate and run server:

$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver

Run with Docker

At config you must add the environment files:

  • .database.env
POSTGRES_USER=postgres
POSTGRES_PASSWORD=your_db_password
POSTGRES_DB=dish_decoder_db
  • .env
SECRET_KEY=your_secret_key
API_KEY=recipe_puppy_key_from_rapid_api
DEBUG=True
POSTGRES_ENGINE=django.db.backends.postgresql
POSTGRES_NAME=dish_decoder_db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=your_db_password
POSTGRES_HOST=db
POSTGRES_PORT=5432
$ docker-compose build
$ docker-compose up

Deploy with Heroku

Built With

  • Python3
  • Docker
  • Heroku
  • PostgreSQL

Authors

  • GuillemCamats
  • rogerLarriba
  • Srjuve
  • Spiritusrevenge
  • santo0

Acknowledgments