No description, website, or topics provided.
Java Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
multilang/resources
redis
src/main/java
.classpath
.gitignore
.project
README.md
pom.xml
requirements.txt

README.md

vining

  1. Install maven3 first
    On OS X:
  brew install maven
  
  1. Install virtualenv
pip install virtualenv
  1. Install and initial an virtualenv
cd vinig-repo  
virtualenv venv --distribute  
source venv/bin/activate
  1. Install all python dependency
pip install -r requirements.txt
  1. Install Redis and execute ./redis-server

  2. Run the topology

mvn -f pom.xml compile exec:java -Dexec.classpathScope=compile -Dexec.mainClass=me.haogao.vining.topology.ViningShellTopology    
mvn -f pom.xml compile exec:java -Dexec.classpathScope=compile -Dexec.mainClass=me.haogao.vining.topology.ViningTweepyTopology  

How configure on Ubuntu:

Install maven 3
http://yarovoy.com/post/14363197336/maven-how-to-install-maven-3-on-ubuntu-11-10

Install pip
http://www.saltycrane.com/blog/2010/02/how-install-pip-ubuntu/

Problems:

  1. locale.Error: unsupported locale setting
    Sudo locale-gen en_US.UTF-8
  2. For long run
    Use nohup

How to configure on Fedora:

  1. Install maven 3
  sudo yum install maven
  1. Install pip
  sudo yum install python-pip
  1. Install virtualenv
sudo python-pip install virtualenv