Skip to content

mbayedione10/Food-Delivery-Web-App-With-Django

Repository files navigation

Food-Delivery-Web-App-With-Django

We are going to build a food delivery app.
This application will have a customer side where orders can be placed and a restaurant side where those orders can be fulfilled and completed

How do I get set up?

####1. Create a python environment####

The environement setup process depends on your system. Do some research to find out how to do it on OS. For MAC you can use the following commands

#!bash
Create virtual environment
virtualenv myname

Active this venv
source myname/bin/activate

####2. Clone the repo and move to the project folder####

#!bash
git clone *repo_url*
cd foodelivery

####3. Install required python packages####

#!python
pip install -r requirements.txt

####4. Apply database migrations####

#!bash

python manage.py makemigrations
python manage.py migrate

####5. Run the app####

#!bash

./manage.py runserver

The api should now be running at http://127.0.0.1:8000/

## Troubleshooting ##
If there is any problem during the installation of the python package, just install each them one by one using `pip install` *package_name* on requirements.txt file