A Car Rental Website
To run this project on your machine. Make sure you have python3 installed on your machine. Create a virtual environment on your code editor using the command
virtualenv <name of environment>
virtualenv env
If virtualenv is not installed on your machine. Install it or use this alternative to create a virtual environment
python -m venv <name of environment>
After virtual environment has been created. Activate the environment.
source <name_of_environment>/bin/activate
<name_of_environment>/Scripts/bin/activate
Install all packages listed in the requirements.txt file using the command below:
pip install -r requirements.txt
All packages should install without errors.
Create a .env
file in the product directory
Follow the example in the .env.example
and populate the .env
file with the values
Input SECRET_KEY=<secret key copied from terminal>
if required
If all above has been met, skip to the command below
Then run the python server with the command
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver