Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.47 KB

install.md

File metadata and controls

60 lines (39 loc) · 1.47 KB

Basic development installation

This whole guide is targeted for OS X installation. This because all development has taken place on OS X.

Installation using HomeBrew

This assumes a clean OS X installation (with Java SDK). Skip steps accordingly to your own configuration:

Steps

  • Install Homebrew (alternatively, you can install MacPorts)

     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  • Install NodeJS (with NPM), MongoDB and Scala (through the Typesafe Activator)

    This instruction is tested with typesafe-activator version 1.3.9, Scala version 2.11.7 and Java version 1.8.0_92.

     brew install node mongodb typesafe-activator
    

    Optional: Look in the comments on how to enable MongoDB, or just run directly using:

     mongod --config /usr/local/etc/mongod.conf
    
  • Install Bower & Gulp

     npm install -g bower gulp
    
  • Clone Rosemary using git(hub)

     git clone https://github.com/AMCeScience/Rosemary.git Rosemary
    
  • Install dependencies

     # Navigate into Rosemary directory
     npm install
     bower install
    

Run!

Now, we have a fully enabled development environment. To start, just run the following command:

activator run

and navigate to http://localhost:9000/.

Make sure you have disabled your caches to enable proper live reload functionality.