https://github.com/grimen/sprinkle-stack
A sweet Rails stack - using Sprinkle. IMPORTANT: Still cooking, so don't expect it to work at all - progress halted for a while..
https://github.com/grimen/sprinkle-stack
Last synced: 22 days ago
JSON representation
A sweet Rails stack - using Sprinkle. IMPORTANT: Still cooking, so don't expect it to work at all - progress halted for a while..
- Host: GitHub
- URL: https://github.com/grimen/sprinkle-stack
- Owner: grimen
- License: mit
- Created: 2010-12-04T23:03:18.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2013-11-29T15:20:15.000Z (over 11 years ago)
- Last Synced: 2025-04-07T20:01:59.376Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 211 KB
- Stars: 31
- Watchers: 1
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.textile
- License: MIT-LICENSE
Awesome Lists containing this project
README
h1. sprinkle-stack *** alpha ***
_A sweet Rails stack - using *"Sprinkle":http://github.com/crafterm/sprinkle*._
*Warning:* Don't try this at home yet, still work-in-progress (~90%).
h2. Default stack
The default stack that will be installed/configured:
*Lang:* Ruby/RVM (REE + 1.9.2 + Rubygems + Bundler)
*App-server:* Passenger
*Web-server:* Nginx
*Mail-server:* Postfix
*Database:* PostgreSQL (optional: MySQL, SQLite3)
*Monitoring:* Monit
*HTTP-proxy:* Varnish
*Cache:* Memcached
*Security:* Fail2ban, IP-tables/ufw, SSH-settings
*SCM:* Git
*Shell:* ZSH (oh-my-zsh)
*Tools:* ntp, screen, curl, vim, htop, imagemagick
*Misc:* logrotation of above (logrotate), default deploy user, default dotfilesIt's trivial to customize this, see _Advanced usage_.
h2. Requirements
* *Debian*-compatible systems should work, even though it has yet only been tested with *Ubuntu 10.10*.
h2. Usage
h3. 1. Clone the stack into your project
$ cd my_app
$ git clone git://github.com/grimen/sprinkle-stack.git config/stackh3. 2. Install dependencies
$ gem install sprinkleh3. 3. Configure
*Capistrano-way:*
Ensure you have specified your server host in @config/deploy.rb@:
role :app, "example.com" # ...or IP*Vanilla-way:*
Nothing, see below.
h3. 4. Setup server!
*Capistrano-way:*
$ sprinkle -c -s config/stack/setup.rb*Vanilla-way:*
$ sprinkle -c -s config/stack/setup.rb HOST...where @HOST@ is the remote server's domain or IP.
h3. 5. Relax
You will be queried a few options in the process, but other than that you are done.
*Optional:* "DJ Tïesto - Sparkles":http://open.spotify.com/track/2ET2q3HVLlx2DSIdyLn6xP
h2. Advanced usage
TODO
h2. References
* "Sprinkle":http://sr3d.github.com/GithubFinder/?user_id=crafterm&repo=sprinkle&branch=master
* "Amazon EC2":http://flurdy.com/docs/ec2/ubuntu/h2. TODO
See "TODO":http://github.com/grimen/sprinkle-stack/blob/master/TODO
h2. License
Released under the MIT license.
Copyright (c) "Jonas Grimfelt":http://github.com/grimen!https://d2weczhvl823v0.cloudfront.net/grimen/sprinkle-stack/trend.png(Bitdeli Badge)!:https://bitdeli.com/free