- Install serverless framework via npm
$ npm install -g serverless
-
Set-up your AWS Credentials
-
Install npm packages
$ npm install
- 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'
- Deploy!
$ serverless deploy -v
or production
$ serverless deploy -v --stage production