Command Line Interface for common Flask operations
- Installation
- Prerequisites: have python3, pip3, and venv installed. Then run the next commands.
git clone https://github.com/kjbrawner22/Flaskify.gitcd Flaskifypip3 install -e .(e flag signals development mode).- Note: after every change to the source code, you should run this command again.
- Note: I have not tried this with python2. Please let me know if it works or if it needs some changes.
- Simply Run
pip3 install flaskifyto install from PyPI.
- Usage:
flaskify new- This generates a project structure for an easily-scalable Flask app.
- prompts you for the project name.
- All other commands should be run under the root directory created by this command.
flaskify run- combines the
export FLASK_APP=run.pyandflask runinto 1 step.
- combines the
- Contribution
- Always Welcome! If you can make this tool better, fix my code, add documentation, or have ideas for new features, please submit a pull request.
- Plans for the Future
- Set up a config system to allow for custom naming and tracking of project-generated files.
- Add more generation options such as Forms, Mail setup, etc.