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.
Live website: https://ramy-tedbira.herokuapp.com/
Rami Berrekia – [email protected]
Run the project
To run this project you will need to set some environment variables.
- Create a new file called
.env
inside thefood
folder - 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.
- In macOS: Run
- 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 runningpip install -r requirements.txt
in your terminal.