diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-02-02 16:53:22 -0500 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-02-02 16:53:22 -0500 |
| commit | 7426d8ff0e7969eb1a86bdb5bec8a0c971309e2b (patch) | |
| tree | 323d6a9a4423b51fbebb37c115fddeab1c7a9641 /Makefile | |
| parent | a0e95b0843d4e366e4b979685f7c821954afebc6 (diff) | |
| download | fast-seeding-7426d8ff0e7969eb1a86bdb5bec8a0c971309e2b.tar.gz | |
Facebook scraping
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -1,13 +1,8 @@ -PORT=8111 -PYTHON=python2 -DATADIR=data/users +all: boostrap run -$(DATADIR): - mkdir data - mkdir data/users +boostrap: + wget http://thibaut.horel.org/facebook/facebook.tar.gz + tar -xzf facebook.tar.gz -run: | $(DATADIR) - $(PYTHON) main.py $(PORT) 2> errors.log - -archive: | $(DATADIR) - tar --force-local -czf archive-$$(date -Is).tar.gz data/ +run: + celery -A tasks --concurrency=1 worker -l info |
