Create new Flask project.
Project description
Flask-ProjectManager
====================
This is a command line tool that will create a new Flask application with the ability to create a simple setup or if you are using blueprints.
[](https://badge.fury.io/py/Flask-NewProject)
* * *
Getting Started
===============
Prerequisites
-------------
Built with Python 2.7
* * *
## Installing ##
pip install Flask-NewProject
## Usage Commands ##
For a skeleton structure:
flask-skeleton ProjectName
This will create a simple skeleton structure with app.py created but with no content inside of it.
For a simple structure:
flask-simple ProjecName
This is the same as the skeleton structure with the addition of basic content in app.py and a test.py in the test directory. You can also run flask-simple right after flask-skeleton and it will add the basic setup into app.py as well.
* * *
## Running Tests ##
Testing your new simple-structure
I use nosetests from the project folder and run
nosetests
There are two built in tests with flask-simple. One the check response code 200 and the other is for Hello World!
* * *
## Contributing ##
Please contribute if you can. This project is just getting underway, but help is always welcome.
* * *
## Version Information ##
0.1.0
* * *
## Authors ##
Raymond Williams
* * *
## License ##
This project is licensed under the MIT License - see the LICENSE file for details
* * *
====================
This is a command line tool that will create a new Flask application with the ability to create a simple setup or if you are using blueprints.
[](https://badge.fury.io/py/Flask-NewProject)
* * *
Getting Started
===============
Prerequisites
-------------
Built with Python 2.7
* * *
## Installing ##
pip install Flask-NewProject
## Usage Commands ##
For a skeleton structure:
flask-skeleton ProjectName
This will create a simple skeleton structure with app.py created but with no content inside of it.
For a simple structure:
flask-simple ProjecName
This is the same as the skeleton structure with the addition of basic content in app.py and a test.py in the test directory. You can also run flask-simple right after flask-skeleton and it will add the basic setup into app.py as well.
* * *
## Running Tests ##
Testing your new simple-structure
I use nosetests from the project folder and run
nosetests
There are two built in tests with flask-simple. One the check response code 200 and the other is for Hello World!
* * *
## Contributing ##
Please contribute if you can. This project is just getting underway, but help is always welcome.
* * *
## Version Information ##
0.1.0
* * *
## Authors ##
Raymond Williams
* * *
## License ##
This project is licensed under the MIT License - see the LICENSE file for details
* * *
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Flask-NewProject-0.2.0.tar.gz
.
File metadata
- Download URL: Flask-NewProject-0.2.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ac948419934bb98f7e4ca70357ad9debcc9a52996c05a8910103c0ad72240392
|
|
MD5 |
e6bcb3ae9af85074e1c974242b45e64c
|
|
BLAKE2b-256 |
ce3aee0e48d80a101a55ccf928b43089e4a7e03c77687c35483a9bfdf18ba6e5
|