Code Monkey home page Code Monkey logo

splash-pages's Introduction

Dependencies

npm install

Running

npm start

Tests

npm test

Prerequisites:

  • node.js: brew install node
  • Edit your ~/.bash_profile or ~/.zshrc:
PATH=node_modules/.bin:$PATH

Structure (what to change)

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/

Troubleshooting

  1. npm start fails

Try running npm install. Packages might be out of date.

  1. command not found

Make sure you have reloaded your terminal after 2. under Setup to run locally

  1. Prospect forms are broken

You need to run gocardless at: gocardless.dev:3000

http://localhost:9000/index.html

Deploying

Staging

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

! DO NOT COMMIT/PUSH STRAIGHT TO MASTER !

Production is deployed once tests on the master branch pass. Merge dev into master with --no-ff to deploy.

Deploying manually

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

splash-pages's People

Contributors

jamesshedden avatar anothertompetty avatar feelepxyz avatar almonk avatar angusbayley avatar tpillairavin avatar greysteil avatar samjewell avatar charrob avatar ken-lo avatar maxmurdoch avatar nqureshi avatar hmarr avatar jackfranklin avatar appleton avatar stevedomin avatar bamesjerry avatar

Watchers

James Cloos avatar  avatar

Forkers

sadiqj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.