Create a Django project - SethuGopalan/ebdjangoVR GitHub Wiki
To generate a Django application
-
Activate your virtual environment Windows based system
C:>%HOMEPATH%\eb-virt\Scripts\activate
after enter prompt come to (eb-virt) C:>
Unix based system
~$ source ~/eb-virt/bin/activate
after enter prompt come to
(eb-virt) ~$
-
Use the django-admin startproject command to create a Django project named ebdjango
Unix: (eb-virt)~$ django-admin startproject ebdjango
Windows:(eb-virt) C:> django-admin startproject ebdjango
-
Run your Django site locally with manage.py runserver.
UNIX : (eb-virt) ~$ cd ebdjango
(eb-virt) ~/ebdjango$ python manage.py runserver
Windows : (eb-virt) C:> cd ebdjango
(eb-virt) C:>python manage.py runserver
-
In a web browser, open http://127.0.0.1:8000/ to view the site.
-
Check the server log to see the output from your request. To stop the web server and return to your virtual environment, press Ctrl+C.