-
Notifications
You must be signed in to change notification settings - Fork 0
Miscellaneous Dev Notes
See pinned post Heroku Staging
in Mattermost for credentials.
Site: https://cfgov-refresh-staging.herokuapp.com/
Original prototype website: http://cft-initial.surge.sh/
This adds a gulp task specifically for compiling the money tools apps we're working on. It can be run like this:
gulp scripts:moneytools
If you pass the --watch flag to the task, it will remain running and recompile whenever a file that is part of the Webpack bundle changes (e.g. anything that you import in the React app, whether it's a script, stylesheet, or whatever else):
gulp scripts:moneytools --watch
The only caveat here is that this runs instead of frontend.sh, and we will need to manually run the other tasks that that script runs (since they're run much less frequently). If you change an image, for example, you'd need to run gulp images in a different terminal tab.
./frontend.sh
Gulp run build
gulp scripts:moneytools
gulp scripts:costofcredittool
gulp styles:apps
dropdb cfgov
createdb -O cfpb cfgov
./initial-data.sh
mkvirtualenv --python=python2.7 cfgov-refresh
Git push prototype mm/mmc-prototype:master