-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
48 lines (33 loc) · 1.31 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
== Setup
On OSX dev machine (includes rb-fsevent)...
rails new quickstartmongo --skip-active-record --skip-test-unit
rails g mongoid:config
rails g rspec:install
rails g cucumber:install --rspec --spork
gem install rb-fsevent
guard init spork
guard init rspec
guard init cucumber
# resque
create config/initializers/resque.rb
add to routes.rb >>> mount Resque::Server.new, :at => "/resque"
# setup devise
rails g devise:install
rails g devise User
rails g devise:views
Output from devise:install...
===============================================================================
Some setup you must do manually if you haven't yet:
1. Setup default url options for your specific environment. Here is an
example of development environment:
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
This is a required Rails configuration. In production it must be the
actual host of your application
2. Ensure you have defined root_url to *something* in your config/routes.rb.
For example:
root :to => "home#index"
3. Ensure you have flash messages in app/views/layouts/application.html.erb.
For example:
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
===============================================================================