Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.15 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.15 KB

Scripts

This is a repository of scripts that I have created to help make my life easier.

Description

  • djangosetup.ps1

This is a powershell script that initializes the django environment for development.

Functionalities

  • 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

Pending updates

  • Adds django newly created app to installed app list in settings.py file

Requirement

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.

Installation guide

This script is published on powershell gallery. Install by running the command below:

Install-Script -Name djangosetup

Note

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