forked from fako/datascope
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 736 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (25 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
now = $(shell date +"%Y-%m-%d")
clean:
find . -type f -name "*.pyc" -delete;
docs:
cd system/docs && make html
deploy: clean
sudo service uwsgi restart
sudo service celeryd restart
deploy-wiki-labs: clean
webservice2 uwsgi-plain restart
jstop celery
jstart -N celery -l release=trusty -mem 2048m celery.sh
health-wiki-labs:
qstat
dump:
./manage.py dumpdata --natural-foreign -e contenttypes -e auth.Permission -e admin -e sessions --indent=4 > db-dump.$(now).json
start-development:
/usr/local/bin/mysql.server start
redis-server
stop-development:
/usr/local/bin/mysql.server stop
test:
./manage.py test --settings=datascope.settings_test $(filter)
grow-feed-wiki-labs:
jsub -l release=trusty -mem 2048m grow.sh