Skip to content

Conversation

@jagthedrummer
Copy link
Contributor

@jagthedrummer jagthedrummer commented Jun 4, 2016

This is a first pass at generating a serverless function and endpoint from the apps router and modules.

The _serverless directory contains a serverless project (generated with sls project create _serverless), and the _serverless/_auto directory is the target for the automatically built artifacts.

To generate the functions and end points you can run node demo-app-prepare-deploy.js

To deploy this you'll first need to install serverless : npm install -g serverless

Then you can cd _serverless and then sls dash deploy

You can see the version that's deployed in my AWS stage here:

https://amifsl8oqb.execute-api.us-east-1.amazonaws.com/dev/posts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant