ideaaward / badge-builder

Other
2 stars 2 forks source link

Badge Builder

Directory structure

Below lists the key files and folders:

.
├── app // The polymer app
│   ├── elements // Polymer elements
├── models // Models for the REST API
├── routes // Routes for the REST API
├── server.js // Entry point of the REST API

Running locally

$ npm install
$ npm install -g gulp-cli
$ npm install -g bower
$ npm install -g nodemon 
$ bower install
$ gulp sass
$ gulp serve

Run web component tests

npm install -g web-component-tester
wct

Deploy to azure

You can get the "GIT_URL" needed for the last command by:

npm install
bower install
gulp
cd dist
git init .
git add .
git commit -m "Deployment commit"
git push --force --quiet "GIT_URL" master:master

Make sure to deploy to the dev deployment slot first and not straight into production.