summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-02-02 16:53:22 -0500
committerThibaut Horel <thibaut.horel@gmail.com>2014-02-02 16:53:22 -0500
commit7426d8ff0e7969eb1a86bdb5bec8a0c971309e2b (patch)
tree323d6a9a4423b51fbebb37c115fddeab1c7a9641 /Makefile
parenta0e95b0843d4e366e4b979685f7c821954afebc6 (diff)
downloadfast-seeding-7426d8ff0e7969eb1a86bdb5bec8a0c971309e2b.tar.gz
Facebook scraping
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 0209047..61478d4 100644
--- a/Makefile
+++ b/Makefile
@@ -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