https://github.com/shotastage/mirage-django-lts
Advanced extended command line tool for Django.
https://github.com/shotastage/mirage-django-lts
django django-admin django-commands python
Last synced: about 1 month ago
JSON representation
Advanced extended command line tool for Django.
- Host: GitHub
- URL: https://github.com/shotastage/mirage-django-lts
- Owner: shotastage
- License: apache-2.0
- Created: 2017-11-28T15:20:22.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T08:35:23.000Z (11 months ago)
- Last Synced: 2025-03-25T07:01:36.397Z (2 months ago)
- Topics: django, django-admin, django-commands, python
- Language: Python
- Homepage:
- Size: 2.69 MB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://travis-ci.com/shotastage/mirage-django-lts)
[](https://pyup.io/repos/github/shotastage/mirage-django-lts/)
[](https://pyup.io/repos/github/shotastage/mirage-django-lts/)
[](https://badge.fury.io/py/django-mirage)
[]()
[](https://github.com/shotastage/mirage-django-lts/releases)
[]()**[mirage ~ ♪](https://youtu.be/nhrXbPlpdQQ?t=3m4s)** extended django admin or manage.py command.
# ⬇️ Installation
Installing Mirage with Pipenv is recommended.
```
pipenv install -d mirage-django-lts
```If you don't use `pipenv`, you can install it with pip.
```
pip install mirage-django-lts
```You can build this package manually.
```
make before_node
make build_all
```# 🖥 Usage
```
Usage:
mg [action] option <--sub-option>mg [action]:[subaction] option <--sub-option>
[Create Project]
new Create a new Django project.
new:react Create a new Django API project with React.js front-end.
new:ng Create a new Django API project with Angular.
--nebular Create a new Angular project with Nebular.
--material Create a new Angular project with Material theme.[Utilities]
b app Backup exsiting app.
browser Launch browser set as default by system.
conf Generate miragefile or reconfig mirage.
f Create a new Python source file with copyrights doc string.[Console]
c Launch Django Python shell.
c:db Launch databse shell.[Database]
db:migrate Make migrations and apply migrations.
db:merge Discard & recreate migrations.
db:reset Reset all database. ( Only debugging SQLite is supported. )[Generator]
g app Create multiple Django apps at once.
g model Create Django model class.
g module Create a new Python module with __init__.py[Heroku]
heroku configure Configure setting files for deploing to heroku.
[Management]
m test Run test of Django application.
m superuser Create super user for Django admin.
m Run manage.py command.[Server]
s Launch debugging server.
[Help]
h Show usage of Mirage.
v Print version information.
? update Check update.
? system Check platform and Python version.
```>> Detail documentation is now under construction.
More usage is [here](https://github.com/shotastage/mirage-django-lts/tree/master/docs).
# 🤪 Author
- Shota Shimazu
# © License
Copyright © 2017-2018 Shota Shimazu All Rights Reserved.
This software is released under the Apache License, see LICENSE for detail.