-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
49 lines (35 loc) · 910 Bytes
/
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
TAG := 0.1
package-install:
pipenv sync
genenv:
python3 genenv.py
#-----------------------------------------------------------------------------
create-network:
docker network create finmind_network
# mysql
mysql-up:
docker-compose -f mysql.yml up -d
mysql-down:
docker-compose -f mysql.yml down
build-image: genenv
docker build -f Dockerfile -t finminddocker/finmind_visualization:${TAG} . --no-cache
push-image:
docker push finminddocker/finmind_visualization:${TAG}
redash-up:
docker-compose -f redash.yml up -d
redash-down:
docker-compose -f redash.yml down
rabbitmq-up:
docker-compose -f rabbitmq.yml up -d
rabbitmq-down:
docker-compose -f rabbitmq.yml down
# api
finmind-up:
docker-compose -f finmind.yml up -d
finmind-down:
docker-compose -f finmind.yml down
# create table
create-mysql-table:
docker-compose -f create_table.yml up
format:
black -l 80 visualization tests