Giter VIP home page Giter VIP logo

joatu-chef-repo's Introduction

JoatU Chef Recipes

This Chef repository is forked from the Intercity Chef Repository, which aims to be the easiest way to set up and configure a Rails server.

It is is heavily inspired by blog posts and chef recipes from 37signals and the Opscode Community Cookbooks.

Features

Takes care of automatic installation and configuration of the following software on a single server or multiple servers:

  • nginx webserver
  • Unicorn for running Ruby on Rails
  • Multiple apps on one server
  • Database creation and password generation
  • Easy SSL configuration
  • Deployment with Capistrano
  • Configure ENV variables

Ubuntu versions

  • Ubuntu 12.04 LTS
  • Ubuntu 14.04 LTS

Databases

  • MySQL
  • PostgreSQL

Getting started

The following paragraphs will guide you to begin managing the JoatU servers through this repository.

1. Set up this repository

Clone the repository onto your own workstation, and change to the joatu-chef-repo folder. For example, to clone into your ~/Code directory:

$ cd ~/Code
$ git clone [email protected]:joatuapp/joatu-chef-repo.git
$ cd joatu-chef-repo

Run bundle:

$ bundle install

2. Configure Chef

In order to access the chef server, you will first need an account at Opscode and will have needed to be invited to the JoatU organization. Email Alex if you need access.

3. Clone the JoatU codebase into place.

If you've already cloned the JoatU codebase onto your machine, make sure that all your work there is committed & pushed, and then delete the repository. Then, from within your joatu-chef-repo folder, run the following commands:

$ cd apps
$ git clone [email protected]:joatuapp/joatu-app.git

4. Deploy the application

Deploys are handled via capistrano. We currently have only one environment configured (alpha), so that is the only environment that can be deployed.

First, to verify that everything is set up correctly run:

bundle exec cap alpha deploy:check

Finally to deploy, run:

bundle exec cap alpha deploy

This will deploy your app and run your database migrations.

Congratulations! You've deployed JoatU. Visit alpha.joatu.com to see your changes!

When you run into problems:

If something doesn't work or you need more instructions:

Please! email [email protected].

Resources and original authors

joatu-chef-repo's People

Contributors

alexanderzaytsev avatar bswinnerton avatar emilebosch avatar geopet avatar joejwright avatar jvanbaarsen avatar kevinold avatar michiels avatar oiuzikov avatar sentience avatar stansidel avatar undergroundwebdesigns avatar

Watchers

 avatar  avatar  avatar

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.