I have a slightly better solution. The more I play with the gazebo, the more I like it. Bower is just a tool built on top of git and structures things in a bizarre manner (usually oriented to front-end JS scripts / not a requirement). One more note: bower is great for installing private dependencies as well as github.
Python is an example, but the overall goal is the same and can be adjusted for ruby.
So take this project for example 3scale_python .
This requires installing libxml2 (via its .txt requirements file). The easiest way for me is to include it in bower and then write a script to install it (shell script and procfile).
bower.json
{ "name": "someapp", "version": "0.0.1", "homepage": "http://github.com/yourusername/yourrepo", "authors": [nem], "description": "something that uses 3scale at a specific commit", "main": "./lib/clock.py", "private": true, "dependencies": { "3scale_ws_api_for_python": "http://github.com/3scale/3scale_ws_api_for_python/archive/82328aa8e7d43f7ef89e420921a4d63e025b527f.zip" } }
install script (manual_installs_python)
#!/bin/bash set -e oldPath=$(pwd) installing(){ echo "-- installing $1 dependencies --" echo '--------------------------------' echo }
PROCFILE
web: pip install -r requirements.txt && ./scripts/manual_python_installs
Done
Installing libxml2 is too easy, you might want to consult scripts. 3scale disconnects through its requirements file.
Nick
source share