- Create Virtual Environment
$ pyton -m venv .venv - Virtual Environment activate
- window
$ [PATH_TO_.venv]/Scripts/activate.bat - mac os
$ source [PATH_TO_.venv]/bin/activate
- window
- install python modules
$ npm install -r requirements.txt - Django migrations
python manage.py migrate - Django create super user
python manage.py createsuperuser - Run Django web application
$ python manage.py runserver - create contents http://localhost:8000/admin
- polls app in http://localhost:8000/polls
- check
/api/polls,/rest/pollsfor json comunication
-
Notifications
You must be signed in to change notification settings - Fork 0
pisee/django-examples
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published