项目作者: shotastage

项目描述 :
Advanced extended command line tool for Django.
高级语言: Python
项目地址: git://github.com/shotastage/mirage-django-lts.git
创建时间: 2017-11-28T15:20:22Z
项目社区:https://github.com/shotastage/mirage-django-lts

开源协议:Apache License 2.0

下载


Mirage

Build Status
Updates
Python 3
PyPI version
PyPI
GitHub release
PyPI

mirage ~ ♪ extended django admin or manage.py command.

⬇️ Installation

Installing Mirage with Pipenv is recommended.

  1. pipenv install -d mirage-django-lts

If you don’t use pipenv, you can install it with pip.

  1. pip install mirage-django-lts

You can build this package manually.

  1. make before_node
  2. make build_all

🖥 Usage

  1. Usage:
  2. mg [action] option <--sub-option> <inputs>
  3. mg [action]:[subaction] option <--sub-option> <inputs>
  4. [Create Project]
  5. new Create a new Django project.
  6. new:react Create a new Django API project with React.js front-end.
  7. new:ng Create a new Django API project with Angular.
  8. --nebular Create a new Angular project with Nebular.
  9. --material Create a new Angular project with Material theme.
  10. [Utilities]
  11. b app <app name> Backup exsiting app.
  12. browser <URL> Launch browser set as default by system.
  13. conf <config type> Generate miragefile or reconfig mirage.
  14. f Create a new Python source file with copyrights doc string.
  15. [Console]
  16. c Launch Django Python shell.
  17. c:db Launch databse shell.
  18. [Database]
  19. db:migrate Make migrations and apply migrations.
  20. db:merge Discard & recreate migrations.
  21. db:reset Reset all database. ( Only debugging SQLite is supported. )
  22. [Generator]
  23. g app <app names...> Create multiple Django apps at once.
  24. g model <model class> Create Django model class.
  25. g module <module bane> Create a new Python module with __init__.py
  26. [Heroku]
  27. heroku configure Configure setting files for deploing to heroku.
  28. [Management]
  29. m test Run test of Django application.
  30. m superuser Create super user for Django admin.
  31. m <manage.py command> Run manage.py command.
  32. [Server]
  33. s Launch debugging server.
  34. [Help]
  35. h Show usage of Mirage.
  36. v Print version information.
  37. ? update Check update.
  38. ? system Check platform and Python version.

Detail documentation is now under construction.

More usage is here.

🤪 Author

  • Shota Shimazu

© License

Copyright © 2017-2018 Shota Shimazu All Rights Reserved.
This software is released under the Apache License, see LICENSE for detail.