Last active
September 28, 2017 17:18
-
-
Save fhightower/9ae9438ff7bad53ae6bae6a32385842e to your computer and use it in GitHub Desktop.
ThreatConnect Sample Spaces App Setup
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
#!/usr/bin/env bash | |
# Instructions for getting the ThreatConnect sample app (https://github.com/ThreatConnect-Inc/TCS_-_SampleApp) | |
# running on a linux vagrant box (https://atlas.hashicorp.com/ubuntu/boxes/trusty64). | |
# basic updates | |
sudo apt-get update; | |
sudo apt-get -y install git; | |
cd /vagrant/; | |
# clone tc app | |
git clone https://github.com/ThreatConnect-Inc/TCX_-_ExampleContextApp.git | |
cd TCX_-_ExampleContextApp | |
# install nodejs | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -; | |
sudo apt-get install -y nodejs; | |
sudo npm install typings -g # do this otherwise `npm install will fail` | |
npm install # run this in the sample app's directory | |
# sudo npm install -g grunt; | |
sudo npm install -g grunt-cli; | |
grunt build:dist | |
# for some reason, I have to do this in order to get grunt to work properly | |
rm -rf ./node_modules; | |
npm install; | |
grunt build:dist; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment