-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (25 loc) · 780 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
default:
# Running in development mode:
# First, the frontend is compiled and the server is run.
#
# Use:
# make run-dev
#
# *************************************************************
#
# Preparing for production deployment (building a Docker image)
# Arguments:
# address=https://my-app-hosting-service.com (e.g.)
# image-name=app-image (e.g.)
#
# Use:
# make prepare-deploy address=https://my-app-hosting-service.com image-name=app-image
#
# If no value is provided for the arguments, the default values will be taken:
# - address=http://localhost:8000
# - image-name=test,
# which is useful if you want to test the created image locally.
run-dev:
sh scripts/dev_script.sh
prepare-deploy:
sh scripts/deploy_script.sh $(address) $(image-name)