Skip to content

Deployments

Cheikh Seck edited this page Dec 11, 2018 · 8 revisions

Deployments

samb currently supports direct deployments to Google app engine. samb aims to support other cloud providers in the future.

Deploying to Google app engine

Download and install the following command to generate the source code needed to deploy your samb project to app engine.

go get github.com/cheikhshift/samb/tree/master/cmd/samb-engine

Run the following command to generate the source needed for app engine.

samb-engine -file=<ENTRY POINT TO PROJECT> -project=<PATH TO PROJECT>

Once the source is generated, change your terminal's working directory to /cmd/appengine. Then run the following command to create your project, if you haven't already :

gcloud app create

Deploy to app engine with command :

gcloud app deploy
Clone this wiki locally