Skip to content

Instantly share code, notes, and snippets.

@yhsiang
Last active August 29, 2015 14:26
Show Gist options
  • Save yhsiang/739bf52d8eb79d934211 to your computer and use it in GitHub Desktop.
Save yhsiang/739bf52d8eb79d934211 to your computer and use it in GitHub Desktop.
sayit installation

Elasticsearch

https://gist.github.com/ricardo-rossi/8265589463915837429d

I found this script, and I use it to install, just use $ elasticsearch.sh 1.5.0

you can use $ curl "http://localhost:9200/" to check whether your installation is successful.

Postgres

use apt-get

Sayit instance

  • python cryptography
  1. apt-get install build-essential libssl-dev libffi-dev python-dev python-pip virtualenv
  2. pip install cryptography

if you have any errors, just google and solve it.

Sayit

Follow the steps here http://mysociety.github.io/sayit/install/#installing-the-example-sayit-django-project

When I run ./manage.py runserver

I encounter two errors

  1. No Module name dateutil
  • $ pip install python-dateutil
  1. No Module name lxml
  • $ apt-get install libxml2-dev libxslt-dev
  • $ pip install lxml

Nginx Setting

https://gist.github.com/yhsiang/9875f5505a7d24f525e0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment