forked from rg3915/orcamentos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
79 lines (53 loc) · 1.69 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
69
70
71
72
73
74
75
76
77
78
79
install:
pip install -U pip
pip install -r requirements/dev.txt
migrate:
./manage.py makemigrations crm proposal
./manage.py migrate
test:
python manage.py test -n
mer:
./manage.py graph_models -a -g -o dev/orcamentos.png
createuser:
./manage.py createsuperuser --username='admin' --email=''
shell_num_last_proposal:
./manage.py shell_plus < shell/shell_num_last_proposal.py
shell_occupation:
./manage.py shell_plus < shell/shell_occupation.py
shell_employee:
./manage.py shell_plus < shell/shell_employee.py
shell_person:
./manage.py shell_plus < shell/shell_person.py
shell_customer:
./manage.py shell_plus < shell/shell_customer.py
shell_work:
./manage.py shell_plus < shell/shell_work.py
shell_entry:
./manage.py shell_plus < shell/shell_entry.py
shell_proposal:
./manage.py shell_plus < shell/shell_proposal.py
shell_contract:
./manage.py shell_plus < shell/shell_contract.py
selenium_login:
python selenium/selenium_login.py
selenium_entry:
python selenium/selenium_entry.py
selenium_person:
python selenium/selenium_person.py
selenium_customer:
python selenium/selenium_customer.py
selenium_work:
python selenium/selenium_work.py
selenium_registration:
python selenium/selenium_registration.py
selenium_all_pages:
python selenium/selenium_all_pages.py
backup:
./manage.py dumpdata --format=json --indent=2 > fixtures.json
load:
./manage.py loaddata fixtures.json
run:
./manage.py runserver
initial: install migrate createuser load
initial2: install migrate createuser shell_employee shell_person shell_customer shell_work shell_entry shell_proposal shell_contract
createdata: shell_employee shell_person shell_customer shell_work shell_entry shell_proposal shell_contract