Last active
May 9, 2019 03:43
-
-
Save proteeti13/cfdfb333b8349c0021961642d26dafec to your computer and use it in GitHub Desktop.
Django installation commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For reference : https://github.com/codingforentrepreneurs/Try-Django-2.2 | |
sudo pip install pipenv | |
pipenv --python 3.6 install django=2.2 | |
pipenv shell (to activate the project's virtualenv) | |
**check for Pipfile and Pipfile.lock in the activated directory** | |
mkdir src (to store the django project) | |
django-admin startproject <projectname> . | |
** check for manage.py and <folder with the projectname> in src ** | |
python manage.py runserver | |
** check development server for successful installation ** | |
python manage.py migrate | |
python manage.py createsuperuser | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment