-
Notifications
You must be signed in to change notification settings - Fork 0
moret/ngrams
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
cult ngrams
first time:
- install virtualenv
- install python2.7
- install redis
- setup virtualenv, run it, clone, install requirements:
mkdir ngrams_env
cd ngrams_env
virtualenv --no-site-packages --python=python27 .
source bin/activate
git clone git@github.com:moret/ngrams.git
cd ngrams
pip install -r requirements.pip
developing
- run redis-server, move to folder, run virtualenv, develop:
(on another terminal) redis-server
cd ngrams_env
source bin/activate
cd ngrams
running
- run redis-server, move to folder, run virtualenv, run server:
(on another terminal) redis-server
cd ngrams_env
source bin/activate
cd ngrams
AWS_ACCESS_KEY_ID='xxx' AWS_SECRET_ACCESS_KEY='yyy' paver run_worker_server
(on another terminal) curl 0.0.0.0:8888/map
(on another terminal) curl 0.0.0.0:8888/process
About
Parallel Ngrams processing... In The Cloud!
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published