Dj Tasks is a script to automate some tasks in Django project. These tasks at the moment are:
- Create
.env
file that distributes project environment variables. - Creates the apps in a folder called
apps
.
$ cd your_project_django
$ git clone https://github.com/williamcanin/dj-tasks.git --branch=master bin
$ rm -rf bin/.git
$ chmod +x bin/dj-tasks
NOTE: You can also place the script in the contrib folder if you have stored others in the folder.
1 - Creating .env
file:
$ ./bin/dj-tasks --env
2 - Creating an app in Django that will be stored in the apps
folder:
$ ./bin/dj-tasks --app <APP NAME>
$ ./bin/dj-tasks --help
It is under license: MIT