-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
37 lines (24 loc) · 1.04 KB
/
README
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
Contents:
petclinic/ - A generated Spring Roo sample, Roo can be downloaded at
http://s3.amazonaws.com/dist.springframework.org/release/ROO/spring-roo-1.1.3.RELEASE.zip
The app was generated with
roo> script --file clinic.roo
integrationtest/ - A rails project setup to test the petclinic web app
Prerequisites:
- Ruby (best installed with RVM http://rvm.beginrescueend.com)
- rails and bundler gems (gem install bundler rails)
- Java (go ask Oracle)
- Maven
To get petclinic running you need to create a database
# mysql -u root
create database petclinic;
If your root user have a password or if you use another login you need to edit the files
- petclinic/src/main/resources/META-INF/spring/database.properties
- integrationtest/config/database.yml
The Java server can be started by typing
# cd petclinic
# mvn tomcat:run
The test can be run by typing
# cd integrationtest
# rake cucumber
If you want to use a headless browser edit integrationtest/features/support/env.rb and comment out the line with :selenium and uncomment the line with :akephalos