Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
OpenEdx
configuration
Commits
5d42cd97
Commit
5d42cd97
authored
May 12, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1080 from IONISx/add-npm-mirror-url
Add npm mirror URL
parents
ff996a57
7c4bac99
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
playbooks/roles/common/defaults/main.yml
+1
-0
playbooks/roles/edxapp/tasks/deploy.yml
+1
-1
No files found.
playbooks/roles/common/defaults/main.yml
View file @
5d42cd97
...
...
@@ -18,6 +18,7 @@ COMMON_CFG_DIR: "{{ COMMON_BASE_DIR }}/etc"
COMMON_ENVIRONMENT
:
'
default_env'
COMMON_DEPLOYMENT
:
'
default_deployment'
COMMON_PYPI_MIRROR_URL
:
'
https://pypi.python.org/simple'
COMMON_NPM_MIRROR_URL
:
'
http://registry.npmjs.org'
# do not include http/https
COMMON_GIT_MIRROR
:
'
github.com'
# override this var to set a different hostname
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
5d42cd97
...
...
@@ -108,7 +108,7 @@
# Set the npm registry
-
name
:
Set the npm registry
shell
:
npm config set registry '
http://registry.npmjs.org
'
npm config set registry '
{{ COMMON_NPM_MIRROR_URL }}
'
creates="{{ edxapp_app_dir }}/.npmrc"
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
...
...
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