Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (34 sloc) 1.304 kb
bc99cfd3 »
2010-10-31 added selenium test
1 h1. Start the demo application
2
3 h2. with maven3 (jetty)
4
5 bc. mvn rails3:rake -Dargs="db:setup"
6 mvn jetty:run -f Gemfile.pom
7
8 p. note: there is no need to have jruby, rubygems, rails installed !!!
9
10 h2. with ruby-maven gem (jetty)
11
12 bc. jruby -S gem install ruby-maven --pre
13 rmvn rake db:setup
14 rmvn jetty-run
15
16 p. note: you need to have jruby installed but no rails or bundler !!!
17
18 h2. with jruby (webrick)
19
20 bc. jruby -S bundle install
21 jruby -S rake db:setup
22 jruby script/rails server
23
24 p. note: you to have jruby and bundler installed !!!
25
26 h2. with ruby (webrick)
27
28 bc. bundle install
29 rake db:setup
30 script/rails server
31
32 p. note: you to have bundler installed !!!
33
34 h1. Run the integration test (selenium)
35
36 h2. with maven3 (jetty)
37
38 bc. mvn rails3:rake -Dargs="db:setup"
39 mvn integration-test -f Gemfile.pom
40
41 p. note: there is no need to have jruby, rubygems, rails installed !!!
42
43 h2. with ruby-maven gem (jetty)
44
45 bc. jruby -S gem install ruby-maven --pre
46 rmvn rake db:setup
47 rmvn integration-test
48
49 p. note: you need to have jruby installed but no rails or bundler !!!
50
51 h1. Navigate through the application
52
53 p. I use the jetty port 8080 for the sample urls. starting point is
54
55 p. "http://localhost:8080/users":http://localhost:8080/users
56
57 p. any further link enforces SSL will switch over to port 8443 and https.
Something went wrong with that request. Please try again.