Updated for Rails 4.0.0+
-
Set up the
bower
gem. -
Follow the Bower instructions and list your dependencies in your
bower.json
, e.g.// bower.json
{
metropolitan:casebook2 (master) $ script/show-branch-info | |
Pruning origin | |
URL: git@github.com:casebook/casebook2.git | |
* [pruned] origin/old_branch_1 | |
* [pruned] origin/old_branch_2 | |
2012-09-14 11:09:29 -0400 12 minutes ago John Doe origin/master | |
2012-09-14 11:09:29 -0400 12 minutes ago John Doe origin/HEAD | |
2012-09-14 09:48:47 -0400 2 hours ago Jane Doe origin/topic_branch_1 | |
2012-09-14 09:48:14 -0400 2 hours ago Jimmy Doe origin/production_branch |
Updated for Rails 4.0.0+
Set up the bower
gem.
Follow the Bower instructions and list your dependencies in your bower.json
, e.g.
// bower.json
{
Add kiosk.js
file with the content below to your www
folder in config.
Like any other custom script, use ui-lovelace.yaml
resources section to reference the kiosk.js
file.
Make sure you add kiosk
somewhere in your URL. You can use it in the id of your view or in the query string.
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: