summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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