-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 767 Bytes
/
Makefile
File metadata and controls
36 lines (26 loc) · 767 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
start:
docker-compose up
rebuild:
ssh-add -l > /dev/null 2>&1 || { eval "$$(ssh--agent)" && ssh-add; }
export DOCKER_BUILDKIT=1 \
&& docker build --progress=plain --ssh=default -t starter-internal . \
&& docker-compose up
stop:
docker-compose stop
burn:
@echo "Stopping and removing all containers..."
docker-compose down
clear-data:
docker-compose down --volumes
clear-public:
docker-compose exec clay rm -rf public/*
docker-compose exec clay rm -f browserify-cache.json
build:
docker-compose exec clay npm run build
bootstrap:
cat ./bootstrap-starter-data/* | clay import -k starter -y localhost
bootstrap-user:
cat sample_users.yml | clay import -k starter -y localhost
add-access-key:
clay config --key starter accesskey
default: start