Getting started - mikedeswert/initiative_roller GitHub Wiki
What to download
This project requires you to download and install the following:
- Maven
- Node.js
Building the project
After downloading the above it should just be a matter of running a mvn clean install in the root of the project. Maven should download all the node dependencies required for this project. These dependencies will be installed only for the scope of the project and not globally.
Deploying the build
The pom file of this project is intended to deploy on a Tomcat 7 server, of course you are free to choose any server you prefer.
Raspberry Pi
At my home I have a small Raspberry Pi running the Tomcat server. If you are interested in mirroring this setup, you can use the setup-raspberry.sh, located in the setup folder of this project. Just execute it on your Raspberry and it will install Java 8 (should you not have it already) and download, unzip and configure a Tomcat 7 server for you. The script will also install MongoDB for you using svvitale's mongo4pi.
The setup folder also contains a maven settings file containing the proper server configuration for this Tomcat.
Don't forget to edit the pom file's tomcat.deploy.url property to whatever host your Raspberry is running on.