Skip to content

Instantly share code, notes, and snippets.

@saml
Created August 27, 2015 18:35
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 saml/5e34a0cb41cca9b5e6a5 to your computer and use it in GitHub Desktop.
Save saml/5e34a0cb41cca9b5e6a5 to your computer and use it in GitHub Desktop.

install quotable on CentOS 6.5

# install system dependencies: ffi and ssl
sudo yum install libffi-devel # assumming openssl-devl is installed.

# clone project
git clone https://github.com/nprapps/quotable.git 
cd quotable

# assumming node.js and npm are installed, install these:
npm install less universal-jst -g --prefix node_modules # must use -g and --prefix

# create python virtual environment called venv
virtualenv-2.7 venv
. venv/bin/activate

# install python dependencies
pip install -r requirements.txt
pip install pyopenssl ndg-httpsclient pyasn1 copytext

# build
fab update_copy
fab render

# test
cd www
python -m SimpleHTTPServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment