https://github.com/haggen/my-devops-cookbook
Rails application server setup, maintenance and deploy guide.
https://github.com/haggen/my-devops-cookbook
Last synced: 3 months ago
JSON representation
Rails application server setup, maintenance and deploy guide.
- Host: GitHub
- URL: https://github.com/haggen/my-devops-cookbook
- Owner: haggen
- License: wtfpl
- Created: 2014-09-19T16:33:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-26T20:36:48.000Z (over 10 years ago)
- Last Synced: 2025-01-17T09:10:17.877Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 206 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My DevOps cookbook
> Rails application server setup, maintenance and deploy guide.
## About
This is a **work in progress**.
This document along with all files within its directory comprise guides, reference sheets
and automation scripts to setup, deploy and maintain Rails applications.### Disclaimer:
- Everything here was gathered from the internet.
- I don't provide support to any of it.
- I can't be held responsible for any harm caused by these scripts or misuse of its information.### Word of caution:
- Customize the configuration variables in `bin/_configuration.sh` to suit your needs.
- Take a moment to read all the scripts and make sure it comply with your expectations.
- Don't run ANY of the scripts unattended, they may require interaction at times and/or get errors.
- These scripts weren NOT tested outside the software stack mentioned below.### Stack
As of this time, the software I use is:
- [Ubuntu Server 14.0](http://www.ubuntu.com/download/server)
- [Ruby 2.1](http://www.ruby-lang.org)
- [Rails 4.1](http://guides.rubyonrails.org)
- [Passenger 4+](https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html)
- [Nginx 1+](http://nginx.org)
- [PostgreSQL 9+](http://www.postgresql.org)
- [Redis 2+](http://redis.io)
- [New Relic](http://www.newrelic.com)
- [Foreman](https://github.com/ddollar/foreman) (for daemonization)
- *shell (for automation)
- [Mandrill](https://mandrillapp.com/) (for email)
- [Amazon S3](http://aws.amazon.com/s3) (for storage)
- Any DNS service### Usage
```shell
wget https://github.com/haggen/my-devops-cookbook/archive/master.tar.gz
tar -xzf master.tar.gz
my-devops-cookbook-master/bin/setup.sh
```## Collaboration
If you want to talk about this project, suggest improvements or raise concerns please do so;
open an issue, send pull requests or simply reach me through [email protected].## Reference:
You participated in writing or publishing any of the links below ? Thank you, you're awesome. ;)
- https://github.com/h5bp/server-configs-nginx
- http://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers
- http://robmclarty.com/blog/how-to-setup-a-production-server-for-rails-4
- http://robmclarty.com/blog/how-to-deploy-a-rails-4-app-with-git-and-capistrano
- https://www.digitalocean.com/community/tutorials/how-to-setup-ruby-on-rails-with-postgres
- https://www.digitalocean.com/community/tutorials/how-to-secure-postgresql-on-an-ubuntu-vps
- https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-14-04
- https://github.com/gerhard/deliver