Skip to main content

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.

[![PyPI version](https://badge.fury.io/py/Flask-NewProject.svg)](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

Flask-NewProject-0.2.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page