mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Install dependencies and public assets during initial provisioning
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,8 +1,9 @@
|
|||||||
install:
|
install:
|
||||||
composer install -o
|
composer install
|
||||||
rm -rf ./node_modules
|
rm -rf ./node_modules
|
||||||
|
rm -rf ./www/assets
|
||||||
|
rm -rf ./www/bower_components
|
||||||
npm install
|
npm install
|
||||||
php bin/console system:clear-cache
|
|
||||||
|
|
||||||
config:
|
config:
|
||||||
@php bin/console compile:configuration
|
@php bin/console compile:configuration
|
||||||
|
@@ -5,6 +5,13 @@
|
|||||||
become_user: vagrant
|
become_user: vagrant
|
||||||
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
|
||||||
|
become: yes
|
||||||
|
become_user: vagrant
|
||||||
|
shell: make
|
||||||
|
args:
|
||||||
|
chdir: /vagrant/
|
||||||
|
|
||||||
- name: Initialize application configuration
|
- name: Initialize application configuration
|
||||||
become: yes
|
become: yes
|
||||||
become_user: vagrant
|
become_user: vagrant
|
||||||
|
Reference in New Issue
Block a user