-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.text
More file actions
58 lines (45 loc) · 1.27 KB
/
README.text
File metadata and controls
58 lines (45 loc) · 1.27 KB
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
48
49
50
51
52
53
54
55
56
57
58
# Enterprise
Enterprise is a homemade intranet
* Share Bookmarks via RSS/XML
* Recipe system
* Shopping system
* Movie database
## System Requirement
* Ruby On Rails 2.3.14
* Ruby 1.8.7
### Gems
* will_paginate
## Install
Install Ruby on Rails, look at http://rubyonrails.org/ if in doubt
### Rename the following files
/config/
database.example.yml -> database.yml
enviroment.example.rb -> enviroment.rb
/initializers/
mail.example.rb -> mail.rb
app/models/
error_mailer.example.rb -> error_mailer.rb
user_mailer.example.rb -> user_mailer.rb
### Change stuff in the following files
/config/
database.yml
test/devel/production setting
enviroment.rb
config.action_controller.session = {
:key => '_enterprise_session',
:secret => 'Please change me'
}
/db/migrate/data/
008_create_permissings.rb
Change the relevant setting for your admin
### Run the following to get gems
gem install rails -v=2.3.14
rake gems:install
### Run to following command to migrate
If you run the rake command with no RAILS_ENV it will be in development enviroment
rake db:install
(rake db:install RAILS_ENV="production")
(rake db:install RAILS_ENV="test")
rake db:migrate
(rake db:migrate RAILS_ENV="production")
(rake db:migrate RAILS_ENV="test")