James Curtin
3e53bdb824
Remove deprecated flask-webpack library
5 years ago
Sérgio
1f5ea80d0c
Adds pipenv shell to docs
...
It might be confusing for beginners following the docs if the `pipenv shell` is not there
5 years ago
Tobiasz Kędzierski
52240b2564
fixup! Apply suggestions from code review
5 years ago
TobKed
02b60139f7
Apply suggestions from code review
...
Co-Authored-By: James Curtin <jamescurtin@users.noreply.github.com>
5 years ago
Tobiasz Kędzierski
f40837b3bf
fixup! fixup! Add heroku deployment feature
5 years ago
Tobiasz Kędzierski
2c71459398
fixup! Add heroku deployment feature
5 years ago
Tobiasz Kędzierski
6264b22311
Add heroku deployment feature
5 years ago
James Curtin
64b644a490
Add black formatting
5 years ago
James Curtin
0ed150b02a
Implement docker environment
6 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
dasDachs
6ecc22bd3d
Added post_get hooks to clean up unnecessary package managment files and updated README.rst
6 years ago
dasDachs
26a30c6f01
Added Pipfile and updated {{{cookiecutter.app_name}}/README.rst
6 years ago
Steven Loria
94fd865d78
Fix eslint errors and switch to babel-preset-env
7 years ago
Will Roberts
b278a72015
run webpack-dev-server and flask server with concurrently
7 years ago
Will Roberts
83d4fbbc9a
README: make new section for asset management
7 years ago
Will Roberts
9648429064
README: escape jinja2 curly braces
7 years ago
Will Roberts
52e69f5783
README: document webpack asset management
7 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
Jeremy Epstein
4c856777f1
Use FLASK_DEBUG instead of MYFLASKAPP_ENV
...
Use the new FLASK_DEBUG environment variable
which is standard as of Flask 0.11, in order
to control the use of dev or prod config.
Need to set this anyway, in order for "flask run"
to use reloader and no concurrency.
8 years ago
Steven Loria
c9a5139bef
Fix checks for exit codes and update doc for shell command
8 years ago
Jeremy Epstein
1f9ef5ba78
move autoapp to project root, update readme, update travis file
8 years ago
Jeremy Epstein
3d8f8c3c9e
Use Click instead of Flask-Script for CLI commands
...
- Update Flask to 0.11 (with built-in Click integration)
- Remove manage.py
- Add autoapp.py per Flask doc's new recommendations
for using Click with an app factory
- Define cookiecutter-flask's commands in cli.py
- Register shell context and shell commands as part
of factory-based app creation
- Update README instructions with examples for running
commands in new Click style
8 years ago
Ian Dees
d64b458042
Update README.rst
...
Fixes https://github.com/sloria/cookiecutter-flask/issues/62
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
Chris Reade
39499e42ec
Fix typo in generated README.rst
10 years ago
Steven Loria
009f4641cf
Further clarification in README
10 years ago
Matt--
0da297ef16
Update README.rst
...
Fix formatting errors.
10 years ago
Matt--
63263ead84
Update README.rst
...
New User. No database installed yet and the Welcome page does not require a database to demonstrate the server is working and links work etc. I anticipate setting up SQLAlchemy is the next step.
10 years ago
Matt--
06044d1675
Update README.rst
...
New user, had to experiment/google to figure out no-white-space in blah='stuff'.
10 years ago
sloria
27f9135f53
Get app secret key from environment variable
11 years ago
Steven Loria
32ae81ec35
Shell access to User
11 years ago
Steven Loria
7ede47885f
Rename repo_name -> app_name
11 years ago
Steven Loria
64e28cfdaa
Add migrations with Flask-Migrate
11 years ago
Steven Loria
65527129f9
Use correct config in production
11 years ago
Steven Loria
64d40aa4be
Add WebTest and some tests
11 years ago
Steven Loria
1c92ba7a1b
update READMEs
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
0d9edaeaee
Remove unnecessary fields from cookiecutter.json
11 years ago
Steven Loria
4bd4c7971a
Initial commit
11 years ago