Intro. Quick recommendations and tips for various processes.
serverless deploy
only when you've made changes to serverless.yml
and in CI/CD systems.serverless deploy function -f myFunction
to rapidly deploy changes when you are working on a specific Azure Functions Function.serverless invoke -f myFunction
to test your Azure Functions.serverless logs -f myFunction
.A handy list of commands to use when developing with the Serverless Framework.
Install the boilerplate application.
serverless install --url https://github.com/azure/boilerplate-azurefunctions --name my-app
This is a convenience method to install a pre-made Serverless Service locally by downloading the GitHub repo and unzipping it.
serverless install -u [GITHUB URL OF SERVICE]
Use this when you have made changes to your Functions, Events or Resources in
serverless.yml
or you simply want to deploy all changes within your Service at
the same time.
serverless deploy
Use this to quickly overwrite your Azure Functions, allowing you to develop faster.
serverless deploy function -f [FUNCTION NAME]
Invokes an Azure Function
serverless invoke function -f [FUNCTION NAME]
Open up a separate tab in your console and stream all logs for a specific Function using this command.
serverless logs -f [FUNCTION NAME]
developers
Made with love in San Francisco + Atlanta, Austria, Germany, Pakistan, Poland, Nebraska & Thailand
Serverless, Inc. © 2018