Added less/js to provision
This commit is contained in:
parent
a63fe02cbf
commit
df209bed21
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
- name: Install bower requirements
|
||||||
|
bower: path={{ deploy_path.stdout }}/git
|
|
@ -5,3 +5,11 @@
|
||||||
command=migrate
|
command=migrate
|
||||||
app_path={{ deploy_path.stdout }}/git
|
app_path={{ deploy_path.stdout }}/git
|
||||||
virtualenv={{ deploy_path.stdout }}/.virtualenv
|
virtualenv={{ deploy_path.stdout }}/.virtualenv
|
||||||
|
settings=amiibofindr.settings.local
|
||||||
|
|
||||||
|
- name: Performs manage.py collectstatic
|
||||||
|
django_manage: >
|
||||||
|
command=collectstatic
|
||||||
|
app_path={{ deploy_path.stdout }}/git
|
||||||
|
virtualenv={{ deploy_path.stdout }}/.virtualenv
|
||||||
|
settings=amiibofindr.settings.local
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
- name: Execute gulp scripts
|
||||||
|
command: gulp scripts
|
||||||
|
args:
|
||||||
|
chdir: "{{ deploy_path.stdout }}/git"
|
||||||
|
- name: Execute gulp less
|
||||||
|
command: gulp less
|
||||||
|
args:
|
||||||
|
chdir: "{{ deploy_path.stdout }}/git"
|
|
@ -19,8 +19,8 @@
|
||||||
- include: virtualenv.yml
|
- include: virtualenv.yml
|
||||||
remote_user: "{{ app_user }}"
|
remote_user: "{{ app_user }}"
|
||||||
|
|
||||||
#- include: node.yml
|
- include: node.yml
|
||||||
# remote_user: "{{ app_user }}"
|
remote_user: "{{ app_user }}"
|
||||||
|
|
||||||
- include: config.yml
|
- include: config.yml
|
||||||
remote_user: "{{ app_user }}"
|
remote_user: "{{ app_user }}"
|
||||||
|
@ -29,6 +29,12 @@
|
||||||
remote_user: "{{ app_user }}"
|
remote_user: "{{ app_user }}"
|
||||||
when: initial_syncdb.stat.exists == False
|
when: initial_syncdb.stat.exists == False
|
||||||
|
|
||||||
|
- include: bower.yml
|
||||||
|
remote_user: "{{ app_user }}"
|
||||||
|
|
||||||
|
- include: gulp.yml
|
||||||
|
remote_user: "{{ app_user }}"
|
||||||
|
|
||||||
- include: django.yml
|
- include: django.yml
|
||||||
remote_user: "{{ app_user }}"
|
remote_user: "{{ app_user }}"
|
||||||
when: initial_syncdb.stat.exists
|
when: initial_syncdb.stat.exists
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#---
|
---
|
||||||
#- name: Install node requirements
|
- name: Install node requirements
|
||||||
# npm: path={{ deploy_path.stdout }}/git/src/backend
|
npm: path={{ deploy_path.stdout }}/git
|
||||||
|
|
|
@ -4,3 +4,4 @@
|
||||||
sudo: true
|
sudo: true
|
||||||
with_items:
|
with_items:
|
||||||
- gulp
|
- gulp
|
||||||
|
- bower
|
||||||
|
|
Loading…
Reference in New Issue