Created
July 29, 2020 19:21
-
-
Save souravrax/4affd9e36e8c90d19d7b5b35d23047e7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1. Make a directory for the django project | |
2. Install 'pipenv' in the system environment if not already | |
3. Create a virtual environment by running 'pipenv shell' (the location of the venv defaults to '~/user/.virtualenv/', to make it live inside the current directory, make an empty folder named '.venv', pipenv automatically detects that folder and creates the virtual environment inside that folder) | |
4. Now install django by running 'pipenv install django' (installs the latest version) | |
5. Start the project by running 'django-admin startproject $NAME_OF_THE_PROJECT' | |
6. To start the live server cd into the project and run 'python manage.py runserver port(optional)' | |
7. To make a new app inside that project run 'python manage.py startapp $NAME_OF_THE_APP' |
Thank you so much. It is very clear and concise.
Thanks a lot
Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this was really helpful