Skip to content

Instantly share code, notes, and snippets.

@nsu
Created July 7, 2014 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsu/cbc13057c10df294174b to your computer and use it in GitHub Desktop.
Save nsu/cbc13057c10df294174b to your computer and use it in GitHub Desktop.

Quotable Setup Instructions

Prerequisites out the butt

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install curl
sudo apt-get install build-essential
sudo apt-get install python-dev
sudo apt-get install nodejs 
sudo apt-get install git
sudo apt-get install nginx

Get Quotable and Build it Out

git clone https://github.com/nprapps/quotable.git
cd quotable/
npm install less universal-jst -g --prefix node_modules
wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
sudo pip install -U pip 
sudo pip install virtualenv
virtualenv quotable
source quotable/bin/activate
pip install -r requirements.txt
fab update_copy
fab render 
fab tests
deactivate

Make the Content Public

sudo cp -R www/* /usr/share/nginx/html/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment