Skip to content

Instantly share code, notes, and snippets.

@steverichey steverichey/start_adapt.sh
Last active Oct 11, 2017

Embed
What would you like to do?
Start adapt
#!/bin/sh
# exit early on errors
set -eu
# from: brew.sh, install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# latest node via homebrew is borked, install 6.x instead
brew install node@6
# add node to path
echo 'export PATH="/usr/local/opt/node@6/bin:$PATH"' >> ~/.bash_profile
# update npm
npm i -g npm
# ffmpeg
brew install ffmpeg
# mongo db
brew install mongodb
# homebrew sets up a db path in /usr/local/var
brew services start mongodb
# grunt (i'm not sure this is necessary)
npm install -g grunt-cli
# adapt
git clone https://github.com/adaptlearning/adapt_authoring.git ~/adapt_authoring
cd ~/adapt_authoring
npm install --production
node install
node server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.