Code Monkey home page Code Monkey logo

rosette's Introduction

rosette

A REST server for events, posters, bookings, uploads and more.

Installation

  1. 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 number 27017

  1. 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

Development setup

MongoDB

  1. Install MongoDB 2.4.6 from http://www.mongodb.org/downloads
  2. Follow instructions in its README file
  3. MongoDB shall be run with its default port number 27017
  4. Install MongoHub from http://mongohub.todayclose.com and use it to inspect the databases

Maven

  1. Install Maven 2.2.1 from http://maven.apache.org/download.cgi

Eclipse

  1. Install Spring Tool Suite from http://spring.io/tools/sts
  2. Inside STS - Install m2e Configurator for Groovy from http://dist.springsource.org/release/GRECLIPSE/e4.2
  3. Inside STS - Install JRebel for Eclipse (3.3+) -> m2e Integration from http://update.zeroturnaround.com/update-site
  4. Open Preferences -> Maven -> Installations and add the directory where Maven 2.2.1 is. Select it.
  5. Import the Rosette project with File -> Import... -> Maven -> Existing Maven Projects
  6. If you get errors that says

The declaration package "se.rytt..." does not match the expected package "main.se.rytt..."

then do the following:

  1. Right-click at "src" below "rosette" in Package Explorer and select Build Path -> Remove from Build Path

  2. Right-click at "src/main/java" below "rosette" in Package Explorer and select Build Path -> Use as Source Folder

  3. Open view Servers and select VMware vFabric tc Server Developer Edition v2.9. Right-click and select Add and Remove.... Add rosette. Start the server. Rosette is not running at localhost:8080/rosette

  4. Add cordate the same way as rosette

  5. Double-click at VMware vFabric tc Server Developer Edition v2.9 in Servers view.

  6. Change bio.http.port to 9000

  7. Click at the Modules tab and change rosette to have path /

rosette's People

Contributors

larsabrasha avatar ockepocke avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.