No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
server
.bowerrc
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.md
README.md
bower.json
deploy.sh
gulpfile.js
package.json
server.js
wct.conf.js

README.md

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:

  • Going to the azure portal (portal.azure.com)
  • Open the web app
  • If you haven't already, set up the following:
  • Go to 'Deployment options'
  • Setup the deployment option as local git repository (this will make the next step possible)
  • Go to 'Properties'
  • Here you should be able to find the "GIT URL"
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.