Commit 771f7ee6 by Calen Pennington

Improve the set of makefile requirements

parent 00d6f1c6
......@@ -19,7 +19,8 @@ help:
@echo " requirements install requirements for local development"
@echo " test run tests and generate coverage report"
@echo " validate run tests and quality checks"
@echo " develop run a local development copy of the server"
@echo " start-devstack run a local development copy of the server"
@echo " open-devstack open a shell on the server started by start-devstack"
@echo ""
clean:
......@@ -27,9 +28,12 @@ clean:
coverage erase
rm -rf assets
requirements:
local-requirements:
pip install -qr requirements/local.txt --exists-action w
requirements:
pip install -qr requirements.txt --exists-action w
test: clean
coverage run ./manage.py test edx_course_discovery --settings=edx_course_discovery.settings.test
coverage report
......@@ -64,5 +68,8 @@ pull_translations:
push_translations:
tx push -s
develop:
start-devstack:
docker-compose --x-networking up
open-devstack:
docker exec -it course-discovery /edx/app/course_discovery/devstack.sh open
......@@ -30,6 +30,6 @@ course-discovery:
container_name: course-discovery
volumes:
- .:/edx/app/course_discovery/course_discovery
command: /edx/app/course_discovery/devstack.sh
command: /edx/app/course_discovery/devstack.sh start
ports:
- "18381:18381"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment