-
Clone the project:
git clone <project_repository_url>
-
Create a new MySQL database.
-
Edit the
.env
file:- Update the database information with the details of the newly created MySQL database.
-
Apply migrations:
python manage.py makemigrations
-
Migrate the database:
python manage.py migrate
-
Optional:
- Make your user have admin privileges by loading the user table and setting
is_admin
to1
.
- Make your user have admin privileges by loading the user table and setting
-
Run the app:
python manage.py runserver
- After completing the installation steps, access the admin interface by navigating to
http://localhost:8000/admin/
in your web browser. - Create an account and login
- In the database make that user an admin by setting the column is_admin to 1