- Initialize virtual environment:
- command: 'python3 -m venv NAME' NAME - any name for the virtual environment normally venv
- Activate virtuaal environment:
- command: 'source NAME/Scripts/activate'
- Install dependencies:
- command: 'pip install django djangorestframework django-cors-headers pillow django-image-cropping'
- Start Project:
- command: 'django-admin startproject NAME' NAME - Project name
- Start App:
- command: 'django-admin startapp NAME' NAME - App name
- Start virtual server:
- command: 'python manage.py startserver'
- Create super user:
- command: 'python3 manage.py createsuperuser'
- Migrate:
- command: 'python manage.py makemigrations'
- command: 'python manage.py migrate' or 'python manage.py migrate --run-syncdb'