Webframeworks2019.files.wordpress.com
Installing DjangoStep 1: Test if python is installedpython3 --versionStep 2: Test if pip is installedpip listStep 3: Create a new directory where you intend to execute your project. For uniformity please call this folder djreactStep 4: Using command prompt navigate to “djreact” directoryStep 5: Create virtual environmentpython3 -m venv myvenvStep 6: Check that ‘djreact’ folder now contains a folder called "myvenv" with the directory structure shown belowStep 7: If Step 5 fails, trypip install virtualenv and then repeat Step 5Step 8: Navigate to the Scripts folder in the “myvenv” in the Command LineStep 9: Activate the virtual environment activate (./activate)Step 10: Confirm that your command prompt is now prefixed with venv Example: (myvenv) D:\test1\myvenv\Scripts>Step 11: Upgrade pippython -m pip install --upgrade pipStep 12: Installing Django, Django Rest Frameworkpip install djangopipenv install djangorestframework django-cors-headersStep 13: Create a new projectdjango-admin startproject backendStep 14: Confirm that a folder called backend has been createdStep 15: Navigate to the "backend" foldercd backendStep 16: Create an application called todo.python manage.py startapp todoStep 17: Migratepython manage.py migrateStep 18: Start Serverpython manage.py runserverStep 19: Check InstallationIt should auntomatically open a browserwindow with URL **************************************Open a second cmd promptType npm install axios ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- wordpress passing data between pages
- wordpress business templates
- wordpress rss feed not working
- wordpress jquery is not defined
- create wordpress blog
- wordpress roles editor
- wordpress full rss feed
- wordpress rss feed settings
- wordpress rss feed plugin
- wordpress display rss feed
- wordpress rss feed link
- wordpress rss feed to post