Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
3b7817ae
Commit
3b7817ae
authored
6 years ago
by
Jeremy Bowman
Browse files
Options
Downloads
Patches
Plain Diff
Add pull and shell make targets
parent
972ad9cb
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+11
-1
11 additions, 1 deletion
Makefile
with
11 additions
and
1 deletion
Makefile
+
11
−
1
View file @
3b7817ae
# Do things in edx-platform
.PHONY
:
clean extract_translations help pull_translations push_translations requirements upgrade
.PHONY
:
clean extract_translations help
pull
pull_translations push_translations requirements
shell
upgrade
# Careful with mktemp syntax: it has to work on Mac and Ubuntu, which have differences.
PRIVATE_FILES
:=
$(
shell
mktemp
-u
/tmp/private_files.XXXXXX
)
...
...
@@ -37,9 +37,19 @@ pull_translations: ## pull translations from Transifex
detect_changed_source_translations
:
##
check if translation files are up-to-date
i18n_tool changed
pull
:
##
update the Docker image used by "make shell"
docker pull edxops/edxapp:latest
requirements
:
##
install development environment requirements
pip
install
-qr
requirements/edx/development.txt
--exists-action
w
shell
:
##
launch a bash shell in a Docker container with all edx-platform dependencies installed
docker run
-it
-e
"NO_PYTHON_UNINSTALL=1"
-e
"PIP_INDEX_URL=https://pypi.python.org/simple"
-e
TERM
\
-v
`
pwd
`
:/edx/app/edxapp/edx-platform:cached
\
-v
edxapp_lms_assets:/edx/var/edxapp/staticfiles/
\
-v
edxapp_node_modules:/edx/app/edxapp/edx-platform/node_modules
\
edxops/edxapp:latest /edx/app/edxapp/devstack.sh open
# Order is very important in this list: files must appear after everything they include!
REQ_FILES
=
\
requirements/edx/pip-tools
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment