forked from openedx/frontend-app-learner-portal-programs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (23 loc) · 761 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
shell: ## run a shell on the learner-portal container
docker exec -it openedx.devstack.learner_portal /bin/bash
build:
docker-compose build
up: ## bring up learner-portal container
docker-compose up
up-detached: ## bring up clearner-portal container in detached mode
docker-compose up -d
logs: ## show logs for learner-portal container
docker-compose logs -f
down: ## stop and remove learner-portal container
docker-compose down
npm-install-%: ## install specified % npm package on the learner-portal container
docker exec npm install $* --save-dev
git add package.json
restart:
make down
make up
restart-detached:
make down
make up-detached
validate-no-uncommitted-package-lock-changes:
git diff --name-only --exit-code package-lock.json