Public | Automated Build

Last pushed: 9 months ago
Short Description
OpenEngine API Service
Full Description

IntegrationHub

Install instructions for clean Mac OS X (out of box)

  • open terminal, type git
  • will trigger a dialog to install dev tools & Xcode … do this
  • install homebrew
  • install node - brew install node
  • install redis - brew install redis
  • install mongodb - brew install mongodb
  • install memcached - brew install memcached
  • install java - brew install Caskroom/cask/java
  • install elastic search - brew install elasticsearch
  • install nginx = brew install nginx
  • clone code from repo
  • copy config/nginx.conf from repo to /usr/local/etc/nginx/nginx.conf
  • cd into root of each project folder: batch-update-service, elastic-search-service, object-store-service, message-queue, realtime-notification-service, restful-notification-service and run npm install to install all dependencies
  • install nodemon - npm install -g nodemon
  • start services - bin/start.sh
  • open http://localhost

snippet from bash history:

8  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
9  brew doctor
10  brew info node
11  brew install node
13  node --version
14  brew install redis
15  ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
16  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
17  brew install mongodb
18  ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
19  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
20  brew install memcached
21  ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents
22  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
23  brew install elasticsearch
24  brew install Caskroom/cask/java
25  brew install nginx
26  ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents
27  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
28  brew install elasticsearch
29  ln -sfv /usr/local/opt/elasticsearch/*.plist ~/Library/LaunchAgents
30  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
31  ls -al
32  cd ~/Documents/
33  mkdir Projects
34  cd Projects
35  open http://localhost
36  git clone https://github.com/OpenCommerce/IntegrationHub
37  cd IntegrationHub/
38  ls -al
39  cd batch-update-service/; npm install; cd ..
40  cd elastic-search-service/; npm install; cd ..
41  cd message-queue/; npm install; cd ..
42  cd object-store-service/; npm install; cd ..
43  cd realtime-notification-service/; npm install; cd ..
44  cd restful-notification-service/; npm install; cd ..
45  ls -al
46  more /usr/local/etc/nginx/nginx.conf
47  mv /usr/local/etc/nginx/nginx.conf /usr/local/etc/nginx/nginx.conf.bak
48  cp config/nginx.conf /usr/local/etc/nginx/nginx.conf
49  sudo nginx -s reload
50  ps ax | grep nginx
52  npm install -g nodemon
53  bin/start.sh 
Docker Pull Command
Owner
pjpritch
Source Repository

Comments (0)