Ramy's tedbira

A website (aka: webapp) to get food recipes by recipes names & ingredients that you have in your fridge, using Django-framework and Spoonacular-api.

Note: The project isn't 100% Python, It also contains HTML files.

Run the project

To run this project you will need to set some environment variables.

  1. Create a new file called .env inside the food folder
  2. Copy all of the variables inside food/.template.env and assign your own values to them
    • In macOS: Run export READ_DOT_ENV_FILE=True in your terminal so that your environment variables file will be read.
    • In Windows: Run [System.Environment]::SetEnvironmentVariable('READ_DOT_ENV_FILE','True') in your terminal so that your environment variables file will be read.
  3. In your terminal, Run python manage.py collectstatic to collect static files.

    Note: make sure you've installed the required packages to run the server by running pip install -r requirements.txt in your terminal.