Difference between revisions of "Simple "Hello world" application"

From MyWiki
Jump to: navigation, search
Line 5: Line 5:
 
'''Run the webserver then navigate to http://localhost:8000 to check that it is working'''<br>
 
'''Run the webserver then navigate to http://localhost:8000 to check that it is working'''<br>
 
''$ python manage.py runserver'' <br>
 
''$ python manage.py runserver'' <br>
 +
'''Create a simple app called "hello"''' <br>

Revision as of 13:15, 18 March 2021

Start a project:
$ django-admin startproject lecture3
Change directory into the folder "lecture3:
$ cd lecture3
Run the webserver then navigate to http://localhost:8000 to check that it is working
$ python manage.py runserver
Create a simple app called "hello"