layout | title | date | categories |
---|---|---|---|
post |
Shell Set-up Scripts |
2015-04-29 10:44:01 -0700 |
bash setup api-client |
{% highlight bash %} function apiclient() {
rails new $1 --database=postgresql cd $1 rake db:create rake db:migrate
if [ -d client ] then rm -rf client else mkdir client && cd client fi
yo angular $1 bower install ui-router restangular --save
cat bower.json && package.json yo doctor
} {% endhighlight %}
Need to figure out how to place bash script into usr/vars to be globally available?
https://github.com/telagraphic/telagraphic.github.io.git