forked from OkunaOrg/okuna-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (33 loc) · 1.03 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
makemessages:
django-admin makemessages --all
compilemessages_en:
django-admin compilemessages --locale=en
compilemessages_es:
django-admin compilemessages --locale=es
build_openbook_api:
docker-compose build
start_openbook_api:
docker-compose up
stop_openbook_api:
docker-compose stop
clean_openbook-api:
docker-compose down -v --rmi local
logs_openbook-api:
docker-compose logs -f
runserver:
python manage.py runserver
runserver_public:
python manage.py runserver 0.0.0.0:8000
load_fixtures: load_circles_fixtures load_emoji_fixtures load_badges_fixtures load_categories_fixtures load_languages_fixtures
load_circles_fixtures:
python manage.py loaddata circles.json
load_emoji_fixtures:
python manage.py loaddata emoji-groups.json
python manage.py loaddata emojis.json
load_badges_fixtures:
python manage.py loaddata badges.json
load_categories_fixtures:
python manage.py loaddata categories.json
python manage.py loaddata moderation_categories.json
load_languages_fixtures:
python manage.py loaddata languages.json