This is a repository of scripts that I have created to help make my life easier.
- djangosetup.ps1
This is a powershell script that initializes the django environment for development.
- Makes new project directory
- Creates python virtual environment
- Activates the virtual environment
- Installs django and rest framework
- Creates django project
- Creates django application
- Carries out initial migration for django application
- Adds django newly created app to installed app list in settings.py file
I assume that if you have the intention of working on a django project, you have python already installed on your computer. If not, here is a link to guide in installing python.
This script is published on powershell gallery. Install by running the command below:
Install-Script -Name djangosetup
If you are using powershell on ubuntu. The script's folder would not be placed automatically on the PATH. This is the folder path for the script: ~/.local/share/powwershell/Scripts