django-admin startproject mysite
#python -V
#python -m pip install --upgrade pip
#mkdir django_project
#cd django_project
#python -m venv venv
#venvScriptsactivate
#pip install django
#django-admin --version
#django-admin startproject test_project
#cd test_project
#python manage.py runserver
django-admin startproject <//name of project>
...> django-admin startproject project_name
django-admin startproject {project-name}
pip install django # Install Django Packages
django-admin startproject project_name # Create a Project
cd project_name
python manage.py makemigrations # Create new migrations
python manage.py migrate # Apply Migrations
python manage.py createsuperuser # Create User for admin
python manage.py runserver # Start Server
python manage.py startapp sub_module # Create a sub app
django-admin startproject myDjangoProject .
Copy code
django-admin startproject name
django-admin startproject geeks_site
django-admin startproject djangosite
$ python manage.py startapp polls
python -m venv venv
venvScriptsactivate
pip install django
django-admin startproject mysite
source $VENV/bin/activate
export DJANGO_SETTINGS_MODULE=project_name.settings.production
git pull
pip install -r requirements.txt
# Update database, static files, locales
manage.py syncdb --noinput
manage.py migrate
manage.py collectstatic --noinput
manage.py makemessages -a
manage.py compilemessages
# restart wsgi
touch project_name/wsgi.py