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