weber-minimal is a Flask application template, intended to get you started with a Flask-powered webapp as quickly as possible. Unlike weber-backend, weber-minimal aims at a minimalistic app, with no database engine or other bells and whistles.
weber-minimal puts an emphasis on ease of deployment (with ansible), and not getting in your way while you focus on your actual app logic.
- Check out the repository
- Go through the configuration in
src/app.yml
- most configuration options there are self-explanatory, and you might be interested in tweaking them to your needs. - Make sure you have
virtualenv
installed - Run the test server to experiment:
$ python manage.py testserver
By default, weber looks for a Python executable named python2.7
. This can be overridden by changing _lib/bootstrapping.py
. For example, it can be set to python3.4
.
If you use an alternative interpreter then remember to add it to ansible/roles/common/vars/main.yml
.
See INSTALLING.md
To start developing and testing, bootstrap the development environment with:
$ python manage.py bootstrap --develop
Weber is distributed under the BSD 3-clause license.