-
Notifications
You must be signed in to change notification settings - Fork 3
Project Setup
m-r-c edited this page Jan 28, 2016
·
17 revisions
- Install java 1.7 if you don't already have it
- Clone profile-service and profile-hub from GitHub
- Create an IntelliJ project from existing source for each
- Create the following directory structure:
/data/profile-hub/config
/data/profile-hub/private-images
/data/profile-hub/staged-images
/data/profile-hub/temp
/data/profile-service/config
/data/profile-service/snapshots
- Copy the profile-hub template config file to
/data/profile-hub/config
and fill in the variable values - Copy the profile-service template config file to
/data/profile-service/config
and fill in the variable values - Install MongoDB
- Install Elastic Search 1.7.2
- Install Elastic Search (https://www.elastic.co/guide/en/elasticsearch/guide/current/_installing_elasticsearch.html)
- Read this: https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html
- Change the cluster name for ES 1. [es_install_dir]/conf/elasticsearch.yml 1. Uncomment cluster.name 1. Change to something unique
- Change profile-service to run on a different port
- In IntelliJ, edit the runtime configuration and add
-Dgrails.server.port.http=8081
to the command line (change 8081 to whatever you want) - Run both profile-hub and profile-service
- http://localhost:8080/profile-hub
- Follow the steps here to set up your environment to run the unit tests
- Follow the steps here to set up your environment to modify the Jasper Reports files