A REST server for events, posters, bookings, uploads and more.
- Install MongoDB
Install
MongoDB 2.4.6
from http://www.mongodb.org/downloads Follow instructions in its README file MongoDB shall be run with its default port number27017
- Set the following JVM args when starting Tomcat 7:
-Dspring.profiles.active=production // For production mode -Drosette.baseUrl=http://rosetteHostName:rosettePortNr // Url where server is hosted
- Install
MongoDB 2.4.6
from http://www.mongodb.org/downloads - Follow instructions in its README file
- MongoDB shall be run with its default port number
27017
- Install
MongoHub
from http://mongohub.todayclose.com and use it to inspect the databases
- Install
Maven 2.2.1
from http://maven.apache.org/download.cgi
- Install
Spring Tool Suite
from http://spring.io/tools/sts - Inside STS - Install
m2e Configurator for Groovy
from http://dist.springsource.org/release/GRECLIPSE/e4.2 - Inside STS - Install
JRebel for Eclipse (3.3+) -> m2e Integration
from http://update.zeroturnaround.com/update-site - Open
Preferences -> Maven -> Installations
and add the directory whereMaven 2.2.1
is. Select it. - Import the Rosette project with
File -> Import... -> Maven -> Existing Maven Projects
- If you get errors that says
The declaration package "se.rytt..." does not match the expected package "main.se.rytt..."
then do the following:
-
Right-click at "src" below "rosette" in
Package Explorer
and selectBuild Path -> Remove from Build Path
-
Right-click at "src/main/java" below "rosette" in
Package Explorer
and selectBuild Path -> Use as Source Folder
-
Open view
Servers
and selectVMware vFabric tc Server Developer Edition v2.9
. Right-click and selectAdd and Remove...
. Addrosette
. Start the server. Rosette is not running at localhost:8080/rosette -
Add
cordate
the same way asrosette
-
Double-click at
VMware vFabric tc Server Developer Edition v2.9
inServers
view. -
Change
bio.http.port
to9000
-
Click at the
Modules
tab and changerosette
to have path/