Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 901 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 901 Bytes

app

A Vue.js SPA for www.omnibuilds.com

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build the vue project
npm run build

# clear the existing build and deploy new build to S3 staging environment (appstage.omnibuilds.com)
npm run deploy_stage

# clear the existing build and deploy new build to S3 production environment (app.omnibuilds.com)
npm run deploy_prod

# does the following
aws s3 rm s3://omni-dev-spa --recursive && aws s3 sync ~/Desktop/app/dist/ s3://omni-dev-spa

Invalidate Cloudfront Cache (after deploy)

From the AWS Console select clouldfront -> distribution -> settings -> invalidations -> create invalidation with path /*

For detailed explanation on how things work, checkout the guide and docs for vue-loader.