/static-repo

Primary LanguageStarlark

Get started with this starter pack

Below you will see commands to install, run, and deploy a go static server.

In just 3 steps you'll have a go server that can serve static files on your local machine or kubernetes, all built with bazel.

  1. Install flame
$ curl tryflame.com/install.sh | sh
  1. Download the flame go-static server starter pack.
$ flame new [APP_DIRECTORY]  "https://github.com/tryflame/flame-starter-go-static"
  1. Run the app locally.
$ cd [APP_DIRECTORY} && flame run

Deploying the app is no more difficult than running locally, but it does require a google cloud (GCE) or amazon web services (AWS) account setup. Go get one of those and come back when you have kubectl ready to run!

  1. Deploy the app to kubernetes
$ flame run :deploy.create