diff --git a/Gemfile b/Gemfile index 9a2ccae..3e77cb9 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ gem 'rails', '3.2.13' # gem 'rails', :git => 'git://github.com/rails/rails.git' gem 'sqlite3' - +gem 'foreman' # Gems used only for assets and not required # in production environments by default. @@ -29,7 +29,7 @@ gem 'jquery-rails' # gem 'jbuilder' # Use unicorn as the app server -# gem 'unicorn' + gem 'unicorn' # Deploy with Capistrano # gem 'capistrano' diff --git a/Gemfile.lock b/Gemfile.lock index b40af6d..45e2f2f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -40,6 +40,8 @@ GEM erubis (2.7.0) execjs (1.4.0) multi_json (~> 1.0) + foreman (0.62.0) + thor (>= 0.13.6) hike (1.2.1) i18n (0.6.1) journey (1.0.4) @@ -47,6 +49,7 @@ GEM railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) json (1.7.7) + kgio (2.8.0) mail (2.5.3) i18n (>= 0.4.0) mime-types (~> 1.16) @@ -76,6 +79,7 @@ GEM rake (>= 0.8.7) rdoc (~> 3.4) thor (>= 0.14.6, < 2.0) + raindrops (0.10.0) rake (10.0.3) rdoc (3.12.2) json (~> 1.4) @@ -99,14 +103,20 @@ GEM uglifier (1.3.0) execjs (>= 0.3.0) multi_json (~> 1.0, >= 1.0.2) + unicorn (4.6.2) + kgio (~> 2.6) + rack + raindrops (~> 0.7) PLATFORMS ruby DEPENDENCIES coffee-rails (~> 3.2.1) + foreman jquery-rails rails (= 3.2.13) sass-rails (~> 3.2.3) sqlite3 uglifier (>= 1.0.3) + unicorn diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..69bdb4a --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: rvmsudo bundle exec unicorn -p 9000 diff --git a/public/index.html b/public/index.html deleted file mode 100644 index a1d5099..0000000 --- a/public/index.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - Ruby on Rails: Welcome aboard - - - - -
- - -
- - - - -
-

Getting started

-

Here’s how to get rolling:

- -
    -
  1. -

    Use rails generate to create your models and controllers

    -

    To see all available options, run it without parameters.

    -
  2. - -
  3. -

    Set up a default route and remove public/index.html

    -

    Routes are set up in config/routes.rb.

    -
  4. - -
  5. -

    Create your database

    -

    Run rake db:create to create your database. If you're not using SQLite (the default), edit config/database.yml with your username and password.

    -
  6. -
-
-
- - -
- -