-
Notifications
You must be signed in to change notification settings - Fork 66
/
Makefile
69 lines (48 loc) · 1.78 KB
/
Makefile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
requirements:
pip install -r requirements.txt --trusted-host pypi.org --trusted-host files.pypi.org --trusted-host files.pythonhosted.org
secrets:
python manage.py generate_secret
collectstatic:
python manage.py collectstatic
html:
(rm -rf docs/build/html)
(rm -rf docs/build/doctrees)
cp vespene/static/png/vespene_logo.png docs/source/
(cd docs; make html)
docs_publish:
cp -a docs/build/html/* ../vespene-io.github.io/
indent_check:
pep8 --select E111 vespene/
pyflakes:
pyflakes vespene/
pyflakes vespene/views/*.py
worker:
ssh-agent env/bin/python manage.py worker general
tutorial_setup:
env/bin/python manage.py tutorial_setup
clean:
find . -name '*.pyc' | xargs rm -r
find . -name '__pycache__' | xargs rm -rf
migrations:
PYTHONPATH=. env/bin/python manage.py makemigrations vespene
migrate:
PYTHONPATH=. env/bin/python manage.py migrate
PYTHONPATH=. env/bin/python manage.py migrate vespene
superuser:
PYTHONPATH=. env/bin/python manage.py createsuperuser
changepassword:
PYTHONPATH=. env/bin/python manage.py changepassword
uwsgi:
uwsgi --http :8003 --wsgi-file vespene/wsgi.py -H env --plugins python3 --static-map /static=static
supervisor_setup_example:
PYTHONPATH=. env/bin/python manage.py supervisor_generate --executable /usr/bin/python --controller true --workers "tutorial-pool=2"
run:
PYTHONPATH=. env/bin/python manage.py runserver
todo:
grep TODO -rn vespene
bug:
grep BUG -rn vespene
fixme:
grep FIXME -rn vespene
gource:
gource -s .06 -1280x720 --auto-skip-seconds .1 --hide mouse,progress,filenames --key --multi-sampling --stop-at-end --file-idle-time 0 --max-files 0 --background-colour 000000 --font-size 22 --title "Vespene" --output-ppm-stream - --output-framerate 30 | avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4