Skip to content

Commit

Permalink
Starting development server
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebCheptumo committed Feb 9, 2024
1 parent 1d0098a commit 62b794a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions django/getting_started_with_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@
#python manage.py migrate - tells Django to make sure the database matches the current state of the project.
#migrating the database - modifying the database
#SQLite iss a database that runs off a single file, ideal for writing simple apps because you wont have to pay much attention managing the database.


#viewing the project
#python manage.py runserver - starts the server(development server) and tells Django to listen for requests on port 8000 on your computer. http://127.0.0.1:8000/ - the address of the server
#you can also specify the port you want to use by adding the port number at the end of the command. eg python manage.py runserver 8001

0 comments on commit 62b794a

Please sign in to comment.