Skip to content

Instantly share code, notes, and snippets.

@dgershman
Last active August 29, 2015 14:15
Show Gist options
  • Save dgershman/7979803aa48d5af9e110 to your computer and use it in GitHub Desktop.
Save dgershman/7979803aa48d5af9e110 to your computer and use it in GitHub Desktop.
installing arch
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs
hash -r
sudo apt-get install -y npm git openjdk-7-jre-headless
wget -qO - https://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add -
sudo add-apt-repository "deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main"
sudo apt-get update && sudo apt-get install elasticsearch
sudo update-rc.d elasticsearch defaults 95 10
cd /opt
git clone https://github.com/radius314/arch.git
git clone https://github.com/radius314/arch.engine.git
cd /opt/arch.engine
sudo rm -r node_modules/ && npm install
service elasticsearch start
node /opt/arch.engine/app.js
node /opt/arch/app.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment