Created
July 29, 2015 13:45
-
-
Save ellipsonic/d13444be3c7c9a3b33ce to your computer and use it in GitHub Desktop.
KeystoneDemo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install dependencies | |
sudo apt-get install python-software-properties | |
sudo apt-get install -y curl | |
# Install nodejs and npm | |
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | |
sudo apt-get install -y nodejs | |
sudo apt-get update | |
# Install mongoDB | |
sudo apt-get install -y mongodb | |
sudo apt-get install -y git | |
# Git keystone | |
mkdir myapp | |
cd myapp | |
git clone https://github.com/ellipsonic/keystone-demo.git . | |
# Clean app and add BSN to avoid memory leaks | |
sudo npm cache clean | |
rm -rf node_modules | |
export PYTHON=python2.7 | |
sudo npm install --python=python2.7 | |
# Deploy app | |
sudo node keystone & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment