James Curtin
3e53bdb824
Remove deprecated flask-webpack library
5 years ago
James Curtin
d2f37093e1
One-time black refactor of template
5 years ago
Steven Loria
973bcd96cb
Use environment variables for configuration
...
As per https://12factor.net/
Use environs/python-dotenv for reading/parsing variables
6 years ago
Will Roberts
119b102693
replace bower with npm and Flask-Assets with webpack
...
The npm configuration:
- Includes linting of javascript with eslint
The webpack setup here:
- Bundles javascript and css, using hashing to support server-side
caching, with support from Flask-Webpack and
manifest-revision-webpack-plugin
- Uses babel to transpile ES6 javascript
- Includes a development server with hot-replacing of javascript and
css code
7 years ago
Wagner Augusto Andreoli
e27fa10e15
Add an option to use pylint after flake8, change code to conform to pylint rules
9 years ago
Wagner Augusto Andreoli
819fd8d700
Fix environment variables
9 years ago
Wagner Augusto Andreoli
2986743a8c
Add an option to fix imports before linting, make all code conform to the linting rules
9 years ago
Wagner Augusto Andreoli
34b1750122
Fix for ValueError: Invalid rounds
9 years ago
Patman64
2a45b9f4ba
Python code clean-up (PEP-8 related and other)
...
- Add the UTF-8 marker to files without it.
- Fix some hanging indents.
- Change ''' into """ in docstrings.
- Enforce two blank line rule.
9 years ago
sloria
ccf58472c8
Fix travis.yml; use py.test and install dev-requirements
...
Fixes #25
10 years ago
sloria
27f9135f53
Get app secret key from environment variable
10 years ago
Steven Loria
c156760f67
Add forms tests
10 years ago
Steven Loria
35c32eccc1
Fix app fixture scope. Make function-scoped to make tests more isolated
10 years ago
Steven Loria
6303991a69
Correctly set bcrypt log rounds in app config
10 years ago
Steven Loria
029a32decd
Fix and simplify tests (all tests passing)
10 years ago
Steven Loria
41824c41cc
Reduce Bcrypt level for tests
10 years ago
Steven Loria
aca9b39329
Move TestConfig to settings.py
11 years ago
Steven Loria
748b6ea83e
Disable SQLAlchemy echo
11 years ago
Steven Loria
7ede47885f
Rename repo_name -> app_name
11 years ago
Steven Loria
82eca9190d
Add Flask-Cache
11 years ago
Steven Loria
e9dfd0573a
Add Flask-Debug toolbar
...
Also, don't bundle and minify assets in dev enviromnet
11 years ago
Steven Loria
d1d832ba97
Add Factory Boy support
11 years ago
Steven Loria
4aea7377a1
Remove env parameter from app factory function
11 years ago
Steven Loria
1f9e6b171e
Store password hash and add basic test
...
Adds Flask-Testing and passlib dependencies
11 years ago
Steven Loria
3a411b4abe
Modular structure with blueprints
...
Views are all in located in the modules package, which contains blueprints
Also, use alert-warning instead of alert-error for Bootstrap3
11 years ago
Steven Loria
7d37cb6254
Add dev/prod configuration
...
Environment can be switched via the MYFLASKAPP_ENV system variable.
11 years ago
Steven Loria
48a6bd0c99
Add simple manage.py script
11 years ago
Steven Loria
4bd4c7971a
Initial commit
11 years ago