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
9e202ee5
Commit
9e202ee5
authored
Jul 21, 2016
by
Simon Chen
Committed by
GitHub
Jul 21, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3262 from edx/schen/ECOM-4904
ECOM-4904 remove the front end application within program IDA
parents
e2a59f8c
5e21021a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
playbooks/roles/programs/defaults/main.yml
+0
-6
playbooks/roles/programs/tasks/main.yml
+0
-30
No files found.
playbooks/roles/programs/defaults/main.yml
View file @
9e202ee5
...
...
@@ -166,12 +166,6 @@ programs_user: "{{ programs_service_name }}"
programs_home
:
"
{{
COMMON_APP_DIR
}}/{{
programs_service_name
}}"
programs_code_dir
:
"
{{
programs_home
}}/{{
programs_service_name
}}"
programs_node_version
:
"
4.4.7"
programs_nodeenv_dir
:
"
{{
programs_home
}}/nodeenvs/{{
programs_service_name
}}"
programs_nodeenv_bin
:
"
{{
programs_nodeenv_dir
}}/bin"
programs_node_modules_dir
:
"
{{
programs_code_dir
}}/node_modules"
programs_node_bin
:
"
{{
programs_node_modules_dir
}}/.bin"
programs_environment
:
DJANGO_SETTINGS_MODULE
:
"
{{
PROGRAMS_DJANGO_SETTINGS_MODULE
}}"
PROGRAMS_CFG
:
"
{{
COMMON_CFG_DIR
}}/{{
programs_service_name
}}.yml"
...
...
playbooks/roles/programs/tasks/main.yml
View file @
9e202ee5
...
...
@@ -36,23 +36,6 @@
become_user
:
"
{{
programs_user
}}"
with_items
:
"
{{
programs_requirements
}}"
-
name
:
create nodeenv
shell
:
>
creates={{ programs_nodeenv_dir }}
{{ programs_venv_dir }}/bin/nodeenv {{ programs_nodeenv_dir }} --node={{ programs_node_version }} --prebuilt
become_user
:
"
{{
programs_user
}}"
-
name
:
install node dependencies
npm
:
executable={{ programs_nodeenv_bin }}/npm path={{ programs_code_dir }} production=yes
become_user
:
"
{{
programs_user
}}"
environment
:
"
{{
programs_environment
}}"
-
name
:
install bower dependencies
shell
:
>
chdir={{ programs_code_dir }}
. {{ programs_nodeenv_bin }}/activate && {{ programs_node_bin }}/bower install --production --config.interactive=false
become_user
:
"
{{
programs_user
}}"
-
name
:
migrate
shell
:
>
chdir={{ programs_code_dir }}
...
...
@@ -63,19 +46,6 @@
environment
:
"
{{
programs_environment
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
-
name
:
compile sass
shell
:
>
chdir={{ programs_code_dir }}
. {{ programs_nodeenv_bin }}/activate && {{ programs_node_bin }}/gulp css
become_user
:
"
{{
programs_user
}}"
when
:
not devstack
-
name
:
run r.js optimizer
shell
:
>
chdir={{ programs_code_dir }}
. {{ programs_nodeenv_bin }}/activate && {{ programs_node_bin }}/r.js -o build.js
become_user
:
"
{{
programs_user
}}"
when
:
not devstack
-
name
:
run collectstatic
shell
:
>
...
...
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