RESTaurant is a RESTful API for managing the restaurants.
- You can create a virtual environment.
python3 -m venv venv
- You can activate it the venv.
. ./venv/bin/activate
# or in PowerShell
.\venv\Scripts\activate
- You can use the
requirements.txt
file to install dependencies.
pip install -r requirements.txt
- Now, you can start the application:
python manage.py runserver
For easy setup, I include the db.sqlite3 file to easily start application. You can pass the
migrate
command
- or, you can run the tests:
python manage.py test