Files
frontend-app-gradebook/Makefile
Alex Dusenbery 23e781d5d6 feat(packaging):
Update the repo so it will publish to npm to enable it to be install on other repos

Also adjust the tests and coverall commands to accommodate the absence of tests
2018-11-06 08:38:25 -05:00

33 lines
724 B
Makefile
Executable File

shell: ## run a shell on the cookie-cutter container
docker exec -it edx.gradebook /bin/bash
build:
docker-compose build
up: ## bring up cookie-cutter container
docker-compose up
up-detached: ## bring up cookie-cutter container in detached mode
docker-compose up -d
logs: ## show logs for cookie-cutter container
docker-compose logs -f
down: ## stop and remove cookie-cutter container
docker-compose down
npm-install-%: ## install specified % npm package on the cookie-cutter 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 --exit-code package-lock.json