GithubHelp home page GithubHelp logo

grimen / sprinkle-stack Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 8.0 216 KB

A sweet Rails stack - using Sprinkle. IMPORTANT: Still cooking, so don't expect it to work at all - progress halted for a while..

License: MIT License

Ruby 100.00%

sprinkle-stack's Introduction

sprinkle-stack * alpha *

A sweet Rails stack – using Sprinkle.

Warning: Don’t try this at home yet, still work-in-progress (~90%).

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 dotfiles

It’s trivial to customize this, see Advanced usage.

Requirements

  • Debian-compatible systems should work, even though it has yet only been tested with Ubuntu 10.10.

Usage

1. Clone the stack into your project

$ cd my_app
$ git clone git://github.com/grimen/sprinkle-stack.git config/stack

2. Install dependencies

$ gem install sprinkle

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.

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.

5. Relax

You will be queried a few options in the process, but other than that you are done.

Optional: DJ Tïesto – Sparkles

Advanced usage

TODO

References

TODO

See TODO

License

Released under the MIT license.
Copyright © Jonas Grimfelt

Bitdeli Badge

sprinkle-stack's People

Contributors

grimen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sprinkle-stack's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.