Skip to content

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
bc99cfd Christian Meier added selenium test
authored
1 h1. Start the demo application
2
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
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)
bc99cfd Christian Meier added selenium test
authored
6
7 bc. mvn rails3:rake -Dargs="db:setup"
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
8 mvn jetty:run
bc99cfd Christian Meier added selenium test
authored
9
10 p. note: there is no need to have jruby, rubygems, rails installed !!!
11
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
12 h2. with ruby-maven gem (using jetty)
bc99cfd Christian Meier added selenium test
authored
13
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
14 bc. jruby -S gem install ruby-maven
bc99cfd Christian Meier added selenium test
authored
15 rmvn rake db:setup
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
16 rmvn jetty:run
bc99cfd Christian Meier added selenium test
authored
17
18 p. note: you need to have jruby installed but no rails or bundler !!!
19
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
20 h2. with jruby (using webrick) without enforce-ssl
bc99cfd Christian Meier added selenium test
authored
21
22 bc. jruby -S bundle install
23 jruby -S rake db:setup
24 jruby script/rails server
25
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
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
bc99cfd Christian Meier added selenium test
authored
33 p. note: you to have jruby and bundler installed !!!
34
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
35 h2. with ruby (using webrick) without enforce-ssl
bc99cfd Christian Meier added selenium test
authored
36
37 bc. bundle install
38 rake db:setup
39 script/rails server
40
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
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
bc99cfd Christian Meier added selenium test
authored
43 p. note: you to have bundler installed !!!
44
45 h1. Run the integration test (selenium)
46
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
47 h2. with maven3
bc99cfd Christian Meier added selenium test
authored
48
49 bc. mvn rails3:rake -Dargs="db:setup"
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
50 mvn integration-test
bc99cfd Christian Meier added selenium test
authored
51
52 p. note: there is no need to have jruby, rubygems, rails installed !!!
53
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
54 h2. with ruby-maven
bc99cfd Christian Meier added selenium test
authored
55
5d8bdc1 Christian Meier add pom and Mavenfile and revised readme
authored
56 bc. jruby -S gem install ruby-maven
bc99cfd Christian Meier added selenium test
authored
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.