Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
d1b08ef4
Commit
d1b08ef4
authored
Jan 23, 2017
by
Clinton Blackburn
Committed by
Clinton Blackburn
Jan 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated production-requirements Make target
This target now installs npm and bower dependencies. ECOM-6590
parent
00bcf8b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Makefile
+4
-2
No files found.
Makefile
View file @
d1b08ef4
...
...
@@ -24,15 +24,17 @@ clean: ## Delete generated byte code and coverage reports
find
.
-name
'*.pyc'
-delete
coverage erase
requirements.js
:
##
Install JS requirements for local development
and production
requirements.js
:
##
Install JS requirements for local development
npm install
$(NODE_BIN)
/bower install
requirements
:
##
Install Python requirements for local development
pip install
-r
requirements/local.txt
--exists-action
w
production-requirements
:
##
Install Python requirements for production
production-requirements
:
##
Install Python
and JS
requirements for production
pip install
-r
requirements.txt
--exists-action
w
npm install
--production
$(NODE_BIN)
/bower install
--production
test
:
clean
##
Run tests and generate coverage report
coverage run ./manage.py
test
course_discovery
--settings
=
course_discovery.settings.test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment