Now rename example.env to .env and now see this video on how to setup the .env file.
3. Setup the database
If you are in local environment then the project will automatically use the sqlite unless speficied the database url in the .env file.
Following DATABASE URL's are supported Click Here
And then install its respective database connector module from pypi.
If you are in LOCAL environment then no need to install the database connector module since it will be using sqlite :) Click here for the video explanation
4. Migrate the sql queries to the database
Now in console run the following command
python manage.py migrate
5. Create a superuser for the site
To create a superuser for the site run the following commands line by line in the sole
python manage.py createsuperuser
after running the command provide the necessary details it asks
6. Compress the static files
To compress the static files then run the following command in the console
Kamboom! The site is up on http://127.0.0.1:8000 in local environment, now the credentials that you have given while creating the superuser using the createsuperuser command.