mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Merge pull request #1943 from alchemy-fr/fix/asset-provisioning
Split make targets and update provisioning accordingly
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -68,3 +68,4 @@ grammar/jison-*
|
|||||||
|
|
||||||
pimple.json
|
pimple.json
|
||||||
playbook.retry
|
playbook.retry
|
||||||
|
npm-debug.log
|
||||||
|
7
Makefile
7
Makefile
@@ -1,9 +1,16 @@
|
|||||||
install:
|
install:
|
||||||
|
make install_composer
|
||||||
|
make install_assets
|
||||||
|
|
||||||
|
install_composer:
|
||||||
composer install
|
composer install
|
||||||
|
|
||||||
|
install_assets:
|
||||||
rm -rf ./node_modules
|
rm -rf ./node_modules
|
||||||
rm -rf ./www/assets
|
rm -rf ./www/assets
|
||||||
rm -rf ./www/bower_components
|
rm -rf ./www/bower_components
|
||||||
npm install
|
npm install
|
||||||
|
./node_modules/bin/gulp build
|
||||||
|
|
||||||
config:
|
config:
|
||||||
@php bin/console compile:configuration
|
@php bin/console compile:configuration
|
||||||
|
0
node_modules/.gitkeep
generated
vendored
0
node_modules/.gitkeep
generated
vendored
@@ -6,9 +6,18 @@
|
|||||||
shell: export NVM_DIR="$HOME/.nvm" &&. "$NVM_DIR/nvm.sh" && npm install -g bower recess
|
shell: export NVM_DIR="$HOME/.nvm" &&. "$NVM_DIR/nvm.sh" && npm install -g bower recess
|
||||||
|
|
||||||
- name: Initialize application dependencies
|
- name: Initialize application dependencies
|
||||||
|
shell: make install_composer
|
||||||
become: yes
|
become: yes
|
||||||
become_user: vagrant
|
become_user: vagrant
|
||||||
shell: make
|
ignore_errors: yes
|
||||||
|
args:
|
||||||
|
chdir: /vagrant/
|
||||||
|
|
||||||
|
- name: Initialize and build application assets
|
||||||
|
shell: export NVM_DIR="$HOME/.nvm" &&. "$NVM_DIR/nvm.sh" && make install_assets
|
||||||
|
become: yes
|
||||||
|
become_user: vagrant
|
||||||
|
ignore_errors: yes
|
||||||
args:
|
args:
|
||||||
chdir: /vagrant/
|
chdir: /vagrant/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user