Skip to content

Instantly share code, notes, and snippets.

@popenkomaksim
Created June 22, 2017 16:48
Show Gist options
  • Save popenkomaksim/630ede076786544baa67cfe1c6973dfd to your computer and use it in GitHub Desktop.
Save popenkomaksim/630ede076786544baa67cfe1c6973dfd to your computer and use it in GitHub Desktop.
Vagga test
containers:
frontend:
setup:
- !Ubuntu trusty
- !UbuntuUniverse
- !BuildDeps [ca-certificates, wget, git, node, npm]
- !Sh "npm install -g n"
- !Sh "npm run set-project-node-version"
- !Sh "npm install -g node-gyp"
- !NpmInstall
- webpack
- n
- bower
- typings
- gulp
- copyfiles
- rimraf
- !NpmDependencies
file: front-end/package.json
peer: false
optional: true
dev: true
- !Sh "(cd front-end && npm run dev-postinstall;)"
commands:
start: !Command
description: Serve Frontend
container: frontend
work-dir: front-end
run: "npm start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment