An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

![Mirage](./docs/assets/logo.png)

[![Build Status](https://travis-ci.com/shotastage/mirage-django-lts.svg?branch=master)](https://travis-ci.com/shotastage/mirage-django-lts)
[![Updates](https://pyup.io/repos/github/shotastage/mirage-django-lts/shield.svg)](https://pyup.io/repos/github/shotastage/mirage-django-lts/)
[![Python 3](https://pyup.io/repos/github/shotastage/mirage-django-lts/python-3-shield.svg)](https://pyup.io/repos/github/shotastage/mirage-django-lts/)
[![PyPI version](https://badge.fury.io/py/mirage-django-lts.svg)](https://badge.fury.io/py/django-mirage)
[![PyPI](https://img.shields.io/pypi/pyversions/mirage-django-lts.svg)]()
[![GitHub release](https://img.shields.io/github/release/shotastage/mirage-django-lts.svg)](https://github.com/shotastage/mirage-django-lts/releases)
[![PyPI](https://img.shields.io/pypi/format/mirage-django-lts.svg)]()

**[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.