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
edx
configuration
Commits
f6a6e8d0
Commit
f6a6e8d0
authored
8 years ago
by
Kevin Falcone
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3516 from edx/jibsheet/node-devstacks
Capture both kinds of node bin dirs
parents
b9c6618e
ca2a7c06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
playbooks/roles/edxapp/defaults/main.yml
+4
-2
playbooks/roles/edxapp/tasks/deploy.yml
+1
-1
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
f6a6e8d0
...
@@ -638,10 +638,12 @@ edxapp_venvs_dir: "{{ edxapp_app_dir }}/venvs"
...
@@ -638,10 +638,12 @@ edxapp_venvs_dir: "{{ edxapp_app_dir }}/venvs"
edxapp_venv_dir
:
"
{{
edxapp_venvs_dir
}}/edxapp"
edxapp_venv_dir
:
"
{{
edxapp_venvs_dir
}}/edxapp"
edxapp_venv_bin
:
"
{{
edxapp_venv_dir
}}/bin"
edxapp_venv_bin
:
"
{{
edxapp_venv_dir
}}/bin"
edxapp_nodeenv_dir
:
"
{{
edxapp_app_dir
}}/nodeenvs/edxapp"
edxapp_nodeenv_dir
:
"
{{
edxapp_app_dir
}}/nodeenvs/edxapp"
edxapp_node_bin
:
"
{{
edxapp_nodeenv_dir
}}/bin"
edxapp_node
env
_bin
:
"
{{
edxapp_nodeenv_dir
}}/bin"
edxapp_node_version
:
"
0.10.37"
edxapp_node_version
:
"
0.10.37"
# This is where node installs modules, not node itself
edxapp_node_bin
:
"
{{
edxapp_code_dir
}}/node_modules/.bin"
edxapp_user
:
edxapp
edxapp_user
:
edxapp
edxapp_deploy_path
:
"
{{
edxapp_venv_bin
}}:{{
edxapp_code_dir
}}/bin:{{
edxapp_node_bin
}}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
edxapp_deploy_path
:
"
{{
edxapp_venv_bin
}}:{{
edxapp_code_dir
}}/bin:{{
edxapp_node_bin
}}:
{{
edxapp_nodeenv_bin
}}:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
edxapp_staticfile_dir
:
"
{{
edxapp_data_dir
}}/staticfiles"
edxapp_staticfile_dir
:
"
{{
edxapp_data_dir
}}/staticfiles"
edxapp_media_dir
:
"
{{
edxapp_data_dir
}}/media"
edxapp_media_dir
:
"
{{
edxapp_data_dir
}}/media"
edxapp_course_static_dir
:
"
{{
edxapp_data_dir
}}/course_static"
edxapp_course_static_dir
:
"
{{
edxapp_data_dir
}}/course_static"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
f6a6e8d0
...
@@ -244,7 +244,7 @@
...
@@ -244,7 +244,7 @@
-
name
:
install node dependencies
-
name
:
install node dependencies
npm
:
npm
:
executable
:
"
{{
edxapp_node_bin
}}/npm"
executable
:
"
{{
edxapp_node
env
_bin
}}/npm"
path
:
"
{{
edxapp_code_dir
}}"
path
:
"
{{
edxapp_code_dir
}}"
production
:
yes
production
:
yes
environment
:
"
{{
edxapp_environment
}}"
environment
:
"
{{
edxapp_environment
}}"
...
...
This diff is collapsed.
Click to expand it.
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