aboutsummaryrefslogtreecommitdiffstats
path: root/gunicorn_config.py (follow)
Commit message (Collapse)AuthorAgeLines
* RabbitMQ service discoveryGravatar Gareth Coles2018-06-06-24/+32
|
* Make the site still work without RMQGravatar Gareth Coles2018-06-03-19/+22
|
* [Gunicorn] It's "description", not "message"Gravatar Gareth Coles2018-05-31-1/+1
|
* This isn't what I signed up for!Gravatar Gareth Coles2018-05-31-2/+3
|
* Linting (of course)Gravatar Gareth Coles2018-05-31-3/+3
|
* [Gunicorn] Announce site deploymentGravatar Gareth Coles2018-05-31-1/+17
|
* RabbitMQ mixin, powered by Kombu (#84)Gravatar Gareth Coles2018-05-30-0/+12
| | | | | | | | * [RMQ] Add Kombi an an RMQMixin, as well as some constants * [RMQ] Fix example in mixin docstring * Update Pipfile.lock - for some reason, pipenv didn't lock kombu
* Gunicorn is super picky about when_ready arityGravatar Gareth Coles2018-05-14-1/+5
|
* Migration runner and migrations (#69)Gravatar Gareth Coles2018-05-14-15/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migration runner and migrations * Remove demo wiki data * [Staff] Table management pages * Fix weird travis build omission * Address review and comments by @Volcyy * [Tables] Fix pagination * Move table definitions to new file with nameduple * Linting * Address lemon's review comments * Address @Volcyy's review * Address lemon's review * Update search placeholder * Search by key now available
* [Wiki] Misc improvements, plus a beta search featureGravatar Gareth Coles2018-05-06-0/+15
|
* Declaring the encoding to be utf-8 is not necessary in Python3 projects, as ↵Gravatar Leon Sandøy2018-04-27-1/+0
| | | | this is the default encoding. Encoding declarations are only useful in py3 if you want to declare it to be something _other_ than utf-8. This was, however, a very useful convention in py2. (#56)
* Initial data for tables and refactoring the dev-mode database handling to be ↵Gravatar Leon Sandøy2018-04-15-1/+11
| | | | | | | | | | similar to prod-mode. (#53) * Changed the dev-mode logic to be the same as prod for creating new tables if they don't exist. Also added a new feature where a table can be initialized with data if you create a JSON file in the pysite/database/table_init/ folder and fill it with a list of dicts where each dict represents a row in your table. Included a hiphoppers json so that I can actually test if it works in production. It will only init the table if the table is empty. * Not sure if this will solve it, but I think so. * Renamed the tables and primary keys, and alphabetized the dict. Now complies with the gdudes holy wishes.
* Fix build for realGravatar Gareth Coles2018-04-08-4/+0
|
* Fix buildGravatar Gareth Coles2018-04-08-3/+12
|
* Fix logging in gunicorn_configGravatar Gareth Coles2018-04-07-3/+3
|
* Don't create tables on route load by default.Gravatar Gareth Coles2018-04-07-0/+12
| | | | | * If "FLASK_DEBUG" is in your env vars, tables will be created on route load * If you run a query against a table not declared in database.py, a warning is emitted
* removes gunicorn config as it is no longer being used (#39)Gravatar Christopher Baklid2018-03-07-46/+0
|
* update gunicorn_config (#2)Gravatar Christopher Baklid2018-02-07-29/+31
| | | | | * update gunicorn_config this changes the initialisation step of the database to use the environment variables
* last fixGravatar Christopher Baklid2018-02-06-1/+1
|
* minor fixesGravatar Christopher Baklid2018-02-06-6/+6
|
* adds gunicorn server_ready hook to set up databaseGravatar Christopher Baklid2018-02-06-0/+44