Skip to content
Permalink
Browse files

Add a release steps file (#2240)

  • Loading branch information...
patjouk committed Nov 22, 2018
1 parent 1bb1491 commit 253f5b0c6d04176192925646d184ba938a209912
Showing with 17 additions and 1 deletion.
  1. +1 −1 Procfile
  2. +16 −0 release-steps.sh
@@ -1,2 +1,2 @@
release: cd network-api && python ./manage.py migrate --no-input && python ./manage.py block_inventory && python ./manage.py sync_page_translation_fields && python ./manage.py update_translation_fields && python ./manage.py clear_cache
release: ./release-steps.sh
web: cd network-api && gunicorn networkapi.wsgi:application
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

cd network-api

# Django Migrations
python ./manage.py migrate --no-input

# Wagtail block inventory
python ./manage.py block_inventory

# Wagtail translations
python ./manage.py sync_page_translation_fields
python ./manage.py update_translation_fields

# Clear cache for BuyersGuide
python ./manage.py clear_cache

0 comments on commit 253f5b0

Please sign in to comment.
You can’t perform that action at this time.