-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.txt
33 lines (25 loc) · 1.43 KB
/
install.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
27
28
29
30
31
32
33
# run the below command
pip install -r dependencies.txt
# This will install all the below technologies
# Django, django-crispy-forms, pillow
# These above technologies are used to create the web app and area must.
Step 1: - Follow the instructions in 'configurations.txt' file step by step.
If already followed the instructions in 'configurations.txt' file the
proceed with the steps given below.
Step 2: - Now follow the codes for the execution of the entire project to launch the webapp,
code: -
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
After the execution of the above commands a url
http://127.0.0.1:8000/
will be shown where the web app is currently running through the local machine
Step 3: - Run Step 2 once any changes are made in the 'models.py', 'views.py', 'urls.py' in either of the 'blog' or 'users' folders.
Step 4:- Run the command
python manage.py runserver
once if no changes are made to the files in Step 3.
Also the command
python manage.py runserver
can be run only once to launch the webapp in the web browser and any changes to the '.html'
files in the 'blog' or 'users' folders will automatically accept them and to see the output
the page can be reloaded in the web browser.