Last active
October 11, 2017 15:08
-
-
Save steverichey/7579d75f15d798862d1c12fd63a11916 to your computer and use it in GitHub Desktop.
Start adapt
This file contains 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
#!/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