Install Chef (chef-client, chef-solo, knife)
curl -L https://www.opscode.com/chef/install.sh | sudo bash
Use knife-solo
Use Berkshelf
- generate application cookbook using Berkshelf
sudo apt-get update && time sudo apt-get dist-upgrade # http://askubuntu.com/questions/194651/why-use-apt-get-upgrade-instead-of-apt-get-dist-upgrade | |
# fix locale issues | |
# http://codetheory.in/fixing-locale-warnings-notices-issues-on-linux-server-or-desktop/ | |
# http://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue | |
sudo vim /etc/environment | |
# and put the following variables into it | |
> LC_ALL=en_US.UTF-8 | |
> LANG=en_US.UTF-8 |
Install Chef (chef-client, chef-solo, knife)
curl -L https://www.opscode.com/chef/install.sh | sudo bash
Use knife-solo
Use Berkshelf
package controllers | |
import play.api.mvc._ | |
import play.api.mvc.Results._ | |
object Application extends Controller { | |
def untrail(path: String) = Action { | |
MovedPermanently("/" + path) | |
} |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
dosmth: { | |
before: 'logging', | |
after: 'exiting' | |
}, | |
bower: { | |
install: { } | |
} |