1. Install serverless framework via npm
$ npm install -g serverless
  1. Set-up your AWS Credentials

  2. Install npm packages

$ npm install
  1. Edit config overrides for production deployment
$ vi config/local.yaml
stripe:
    test_sk: 'Stripe_Test_Secret_Key_here'
    live_sk: 'Stripe_Live_Secret_Key_here'
  1. Deploy!
$ serverless deploy -v

or production

$ serverless deploy -v --stage production