Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
Christopher DeCairos 4596990aeb
Gunicorn perf redux (#4530)
* enable Gunicorn preload and max-requests features

* trailing newline

* preload, not preboot
2020-04-20 10:02:06 -04:00
Christopher DeCairos 4798be00ba Revert "Enable preload and max-requests for gunicorn (#4354)"
This reverts commit 9188c0fa47.
2020-04-01 17:06:20 -04:00
Christopher DeCairos 9188c0fa47
Enable preload and max-requests for gunicorn (#4354)
* enable Gunicorn preload and max-requests features

* trailing newline
2020-04-01 16:51:32 -04:00
Lucie 253f5b0c6d
Add a release steps file (#2240) 2018-11-22 12:26:51 +01:00
Christopher DeCairos 6edef80f6f
Fix the Procfile (#2167) 2018-11-12 13:23:05 -05:00
Lucie ff3ee02e38 Add a clear cache management command and call it as a release step (#2150) 2018-11-09 13:43:34 -05:00
Pomax fc55d43563
Adding wagtail-modeltranslation to get at least some sort of localization. (#1566)
* Added localization through wagtail-modeltranslation + custom UX scripts + documentation on what was added and how to undo things when wagtail eventually comes with built-in localization
2018-08-21 10:30:47 -07:00
Pomax ad498cb279
Wagtail inventory (#1687)
* add block inventory using wagtail-inventory 0.5
* add block inventory to inv tasks
2018-08-01 12:53:36 -07:00
Alan Mooiman e9eec57fe8
Revert Wagtail inventory (#1685)
Didn't work on staging
2018-07-20 12:57:29 -04:00
Alan Mooiman 7186e76364
More official wagtail inventory (#1640)
* rebase

* use wagtail-inventory 0.5

* use wagtail-inventory 0.5

* add block inventory instruction to the inv tasks

* pipfile lock update

* ensure the block inventory triggers on deploy
2018-07-20 11:07:55 -04:00
Christopher DeCairos a123431061
Wagtail data (#1509)
* WIP

* Generate pages for wagtail, and generate a superuser login for review apps

* modify review_app_user command to not throw

* delte CTAs in flush_models, lower the number of output sentences for description_faker

* code style fix

* update README

* Update deployment steps to reflect new scripts

* fix bad reference to manage.py in postdeploy heroku script

* Bump Django to 1.11.13

* Fix grammar in the README

* Further README fixes

* remove unnecessary try-except from flush_models

* generate Homepage highlights and news, add some missing pages

* fix code style

* Wrap single/multi page generation in try-except blocks to prevent trying to create duplicate pages. Delete Highlight records when flushing models

* Call build instead of create when generating featured news and highlights so the factories don't automatically generate new homepages
2018-05-10 17:08:55 -04:00
Christopher DeCairos 07fe916172
update Procfile launch command (#890) 2017-11-06 13:29:27 -05:00
Lucie 1ca8ed7616
remove the 'app' directory (#867)
* remove the 'app' directory

* small fix

* fix tests issue
2017-11-06 18:01:38 +01:00
Christopher DeCairos bb6bceaf8f incorrect flag passed to manage.py in release phase command (#848) 2017-10-12 17:21:19 -04:00
Christopher DeCairos dc87f4df20 Add a management command that loads data from a fixture. (#783)
* Add a management command that loads data from a fixture.

The management command "heroku_release" will run automatically on heroku if the "LOAD_FIXTURE" environment variable is set to true

* Issue the correct management command

* remove crufty Procfile

* fix lint issues

* fix up Procfile

* 1. Clean up network-api folder
2. Update README.md with information about the django app, including mock data instructions
3. add app.json for review apps
4. modify some of the react components to fall back on `HEROKU_APP_NAME` so that Review apps will work without manual intervention

* remove cruft from env.default

* Forgot that the app name needed to be transformed into a domain

* fixing lint problems

* remove unused import

* Fix typo in people.jsx, use protocolless urls on people, news, upcoming, and main.js xhr requests, update readme

* add trailing slash to homepage api request

* Rename NETWORK_API_DOMAIN to NETWORK_SITE_URL and update how it's used.

* update environment whitelist for NETWORK_SITE_URL

* Pass the request as a context to HomepageSerializer, so it can be passed on to News, Person, and Highlight Serializers
2017-10-12 17:05:09 -04:00
gavin lazar suntop 87c7854d9a Unity! (#599)
* adding network-api as submodule

* ignoring dirty submodule

* building landing page template directly into network-api subfolder

* updating network-api

* formatting tweak

* updating network-api submodule

* new run command without docker

* fixing api start task

* building into networkapi instead of dest

* consolidiating to just one server

* updating network-api

* no base url needed

* adding requirements.txt to root for deployment

* updating submodule

* add a heroku-postbuild task for the nodejs buildpack, add a Procfile (#630)

* troubleshoot procfile

* troubleshoot procfile

* removing network-api submodule

* adding all network-api files

* Build on Heroku instead of Jenkins (#655)

* Remove Travis build URL settings and add Heroku build settings (#662)

* Add in Heroku token settings, fix lint issues (#664)

* requests was form-encoding the payload - force it to json encode it. return early if there's an error

* Properly access dict attributes

* only trigger a build if none are pending, to work around concurrency … (#670)

* only trigger a build if none are pending, to work around concurrency issues with the debounce and throttle code

* Update settings.py

* fix lint issues

* remove old format call

* classic JS programmer mistake while accessing a dict
2017-08-18 11:21:47 -07:00