You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Copy file name to clipboardexpand all lines: README.rdoc
+8-10
Original file line number
Diff line number
Diff line change
@@ -22,24 +22,22 @@ DMPonline is a Ruby on Rails application and you will need to have Ruby 2.0.0p24
22
22
23
23
Prerequisites
24
24
-------------
25
-
DMPonline is a Ruby on Rails application and you'll need to have Ruby 2.0.0p247 [x86_64-linux], plus Rails 3.2.13 on your server and a MySQL server v5.1 or greater.
25
+
DMPonline is a Ruby on Rails application and you'll need to have Ruby 2.0.0p247 [x86_64-linux], plus Rails 3.2.13 on your server and a MySQL server v5.1 or greater.
26
26
27
27
You will need to ensure you have [RubyGems installed](http://guides.rubygems.org/rubygems-basics/) too. If you've had to upgrade the version of Ruby running on your server, don't forget to update the gems system too by running the following:
28
28
29
29
$ gem update --system
30
30
$ gem install bundler
31
31
32
-
Further details on how to install Ruby on Rails applications are available from the [Ruby on Rails site](http://rubyonrails.org).
32
+
Further details on how to install Ruby on Rails applications are available from the [Ruby on Rails site](http://rubyonrails.org).
33
33
34
-
While not a prerequisite, the DCC runs this using [Phusion Passenger 4](http://www.modrails.com/) with an Apache webserver
34
+
While not a prerequisite, the DCC runs this using [Phusion Passenger 4](http://www.modrails.com/) with an Apache webserver
35
35
36
-
The shell utility [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf/) is used to create PDF output and so this needs to be installed on your server.
36
+
The shell utility [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf/) is used to create PDF output and so this needs to be installed on your server.
37
37
38
38
== Getting Started
39
39
40
-
After downloading, create a `config/database.yml` file based on the provided `config/database_example.yml` file. Currently only MySQL databases are supported.
41
-
42
-
Edit the configuration files at `config/environments` to include your contact email addresses.
40
+
After downloading, create a `config/secrets.yml` file based on the provided `config/secrets.yml.sample` file. Currently only MySQL databases are supported.
43
41
44
42
Edit the configuration setting `config.action_mailer.default_url_options` in `config/application.rb`
45
43
@@ -51,10 +49,10 @@ Use [mailcatcher](http://mailcatcher.me) in development to send email.
51
49
52
50
You'll need to install the gems, build the database and start the server:
53
51
54
-
$ cd dmponline4
55
-
$ bundle update
52
+
$ cd dmponline4
53
+
$ bundle update
56
54
$ rake db:setup
57
-
$ rake db:populate
55
+
$ rake db:populate
58
56
You may also find the following resources handy:
59
57
60
58
The second rake task creates a sample admin user. See lib/tasks/user_data.rake for more details.
0 commit comments