https://github.com/mr-destructive/django-quick-setup-script
https://github.com/mr-destructive/django-quick-setup-script
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mr-destructive/django-quick-setup-script
- Owner: Mr-Destructive
- Created: 2021-08-15T06:17:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-04T18:28:21.000Z (over 4 years ago)
- Last Synced: 2025-01-29T20:37:25.524Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Django Quick Setup Script
- Make sure you have a running [python](https://www.python.org/downloads/) setup.
- Also, [pip](https://pip.pypa.io/en/stable/) should be properly installed and configured.
- You can now run the scripts according to your Operating System:
- **For Windows**
```
mkdir %1
cd %1
pip install virtualenv
virtualenv env
call env\Scripts\activate
pip install django
django-admin startproject %1 .
cls
```
- **For Linux and macOS**
```
#!/usr/bin/env bash
mkdir $1
cd $1
pip install virtualenv
virtualenv env
source env\bin\activate
pip install django
django-admin startproject $1 .
clear
```