-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstructions.txt
26 lines (18 loc) · 934 Bytes
/
instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Hello ,
Please follow the steps below to set up and run the project:
Install all the required modules by running "pip install -r requirements.txt" in your Python environment if they are not already installed.
Add your MySQL database credentials in the "settings.py" file as shown below:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'your_database_name',
'USER': 'your_username',
'PASSWORD': 'your_password',
'HOST': 'localhost',
'PORT': '3306',
}
}
Run the command "python manage.py collectstatic" to collect all the static files.[NOTE: some functions are developed using javascript.]
Run the command "python manage.py makemigrations" to generate the migration files for the database models.
Run the command "python manage.py migrate" to apply the migration files to the database.
Finally, run the command "python manage.py runserver" to start the server and access the project in your web browser.