create a virtualenv python
pip install virtuaenv
python3 -m venv tutorial-env //name of project
tutorial-env\Scripts\activate.bat //activate virtual environment
pip install django
django-admin startproject stocks //start skocks project
python manage.py startserver
cd stocks // go to stocks directory
python manage.py migrate
python manage.py createsuperuser //creates user
python manage.py startapp quotes //create an app called quotespip install virtualenv
cd projectfolder #go to project folder
virtualenv projectname #create the folder projectname
source projectname/bin/activatemypthon\Scripts\activate
Also in Shell:
- open a pdf on linux
- update all chocolatey packages
- install cocoapods
- how see my user name mac terminal
- bash string to file
- git remove folder form past all commits
- git push crontab
- vim display whitespace
- foreach loop powershell
- git abort stash pop
- install sklearn
- list all node versions mac
- install yarn
- install cpanm
- bash redirect output to null
- clone repository git
- git cherry pick
- update yarn
- how to update local repo when i make changes to github remote repo
- shell script variable
- how to set date in ubuntu
- how to install tar.gz in ubuntu
- repo from bitbucket to github
- conda install mmcv