-
Notifications
You must be signed in to change notification settings - Fork 0
Create your own uick component
Javier Sánchez - Marín edited this page Oct 7, 2013
·
2 revisions
-
If you dont have Yeoman installed
$ npm install -g yo -
Then install uick generator for yeoman
$ npm install -g generator-uick-component -
Make a new directory for your component and
cdinto it$ mkdir ui-my-component && cd $_ -
Run
yo uick-component$ yo uick-component -
Create the repo in Github
-
Create a gh-pages branch
-
Generate token for github project
$ curl -X POST -u <your_github_username> -H "Content-Type: application/json" -d "{\"scopes\":[\"public_repo\"],\"note\":\"token for pushing from travis\"}" https://api.github.com/authorizations$ cd ui-<your-component>$ gem install travis$ travis encrypt -r <user>/<repository> GH_TOKEN=<token> --add env.global
-
$ git push -u origin master