Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 69 lines (40 sloc) 1.745 kb
bc99cfd3 »
2010-10-31 added selenium test
1 h1. Start the demo application
2
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
3 p. note: Gemfile.lock is not part of the git repository since it is platform dependent and can not be use for MRI and JRuby at the same time.
4
5 h2. with maven3 (using jetty)
bc99cfd3 »
2010-10-31 added selenium test
6
7 bc. mvn rails3:rake -Dargs="db:setup"
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
8 mvn jetty:run
bc99cfd3 »
2010-10-31 added selenium test
9
10 p. note: there is no need to have jruby, rubygems, rails installed !!!
11
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
12 h2. with ruby-maven gem (using jetty)
bc99cfd3 »
2010-10-31 added selenium test
13
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
14 bc. jruby -S gem install ruby-maven
bc99cfd3 »
2010-10-31 added selenium test
15 rmvn rake db:setup
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
16 rmvn jetty:run
bc99cfd3 »
2010-10-31 added selenium test
17
18 p. note: you need to have jruby installed but no rails or bundler !!!
19
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
20 h2. with jruby (using webrick) without enforce-ssl
bc99cfd3 »
2010-10-31 added selenium test
21
22 bc. jruby -S bundle install
23 jruby -S rake db:setup
24 jruby script/rails server
25
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
26 p. or with ruby-maven
27
28 bc. rmvn rake db:setup
29 rmvn rails server
30
31 p. enforce-ssl does not work since the server listens only on one port and it is kind of hacky to get SSL working
32
bc99cfd3 »
2010-10-31 added selenium test
33 p. note: you to have jruby and bundler installed !!!
34
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
35 h2. with ruby (using webrick) without enforce-ssl
bc99cfd3 »
2010-10-31 added selenium test
36
37 bc. bundle install
38 rake db:setup
39 script/rails server
40
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
41 p. enforce-ssl does not work since the server listens only on one port and it is kind of hacky to get SSL working
42
bc99cfd3 »
2010-10-31 added selenium test
43 p. note: you to have bundler installed !!!
44
45 h1. Run the integration test (selenium)
46
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
47 h2. with maven3
bc99cfd3 »
2010-10-31 added selenium test
48
49 bc. mvn rails3:rake -Dargs="db:setup"
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
50 mvn integration-test
bc99cfd3 »
2010-10-31 added selenium test
51
52 p. note: there is no need to have jruby, rubygems, rails installed !!!
53
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
54 h2. with ruby-maven
bc99cfd3 »
2010-10-31 added selenium test
55
5d8bdc10 »
2011-03-15 add pom and Mavenfile and revised readme
56 bc. jruby -S gem install ruby-maven
bc99cfd3 »
2010-10-31 added selenium test
57 rmvn rake db:setup
58 rmvn integration-test
59
60 p. note: you need to have jruby installed but no rails or bundler !!!
61
62 h1. Navigate through the application
63
64 p. I use the jetty port 8080 for the sample urls. starting point is
65
66 p. "http://localhost:8080/users":http://localhost:8080/users
67
68 p. any further link enforces SSL will switch over to port 8443 and https.
Something went wrong with that request. Please try again.