-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 718 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 718 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
36
37
run:
./manage.py runserver
setupenv:
cp config/envvars ${VIRTUAL_ENV}/bin/postactivate
migrate:
./manage.py migrate --noinput
test:
./manage.py test
deps:
pipenv install
systemdeps:
apt-get install -y postgresql libpq-dev python-dev supervisor nginx
clean:
pyclean .
dumpfixtures:
./manage.py dumpdata --indent=2 core > core/fixtures/initial_data.json
messages:
django-admin.py makemessages -l fr_FR
compilemessages:
django-admin.py compilemessages
pylint:
pylint --rcfile=config/pylintrc .
ctags:
ctags -R --languages=python --python-kinds=-v ${VIRTUAL_ENV}/lib/python2.7
ctags -R -a --languages=python --python-kinds=-v ${VIRTUAL_ENV}/src
ctags -R -a --languages=python --python-kinds=-v .