Packaging a serving up a Vue.js application via Go and Statik
Switch branches/tags
Nothing to show
Clone or download
Iheanyi Ekechukwu
Iheanyi Ekechukwu Revert to previous state.
Latest commit 73f2089 Nov 23, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/sampleapp Revert to previous state. Nov 23, 2017
vendor/github.com/rakyll/statik vendor: Add dependencies. Nov 22, 2017
Gopkg.lock vendor: Add dependencies. Nov 22, 2017
Gopkg.toml More Gopkg.toml tweaks Nov 22, 2017
Procfile Add Procfile Nov 22, 2017
README.md Add README. Nov 22, 2017

README.md

Go-Vue-Statik

Getting Started

Installing Dependencies

  1. cd cmd/sampleapp && yarn to install dependencies from npm.
  2. Use dep to install Go dependencies.

Building

  1. Run go generate from cmd/sampleapp to build the front-end files needed.
  2. Run go install ./... to install the sampleapp dependencies.
  3. Run sampleapp and visit http://localhost:1337 to view the project.

Demo deployed to Heroku