npm install
npm start
npm test
- node.js:
brew install node
- Edit your ~/.bash_profile or ~/.zshrc:
PATH=node_modules/.bin:$PATH
The site url structure maps the app/pages/
folder excluding the index.html file.
app/pages/features/index.html
would end up at gocardless.com/features/
CSS: app/css/
JS: app/js/
Images: app/images/
Fonts: app/fonts/
Static app: app/public/
Page templates: app/templates/
Shared template includes/partials: app/includes/
npm start
fails
Try running npm install
. Packages might be out of date.
command
not found
Make sure you have reloaded your terminal after 2.
under Setup to run locally
- Prospect forms are broken
You need to run gocardless at: gocardless.dev:3000
http://localhost:9000/index.html
Once a pull-request is merged it goes onto dev
and gets deployed.
Deploys happen once CI tests pass. Circle CI will email about any failure.
Production is deployed once tests on the master
branch pass. Merge dev
into
master
with --no-ff
to deploy.
Set up AWS credentials (web ops):
export GC_AWS_ACCESS_KEY=ask webops
export GC_AWS_ACCESS_KEY=ask webops
Testing:
$ AWS_S3_BUCKET=staging.gocardless.com make deploy
Production:
$ AWS_S3_BUCKET=gocardless.com make deploy