mirror of https://github.com/flarum/flarum
Update Vagrant scripts to reflect new setup.
parent
7de87f7e56
commit
48e20e55d0
|
@ -69,7 +69,7 @@ symfony_root_folder = "/vagrant/symfony" # Where to install Symfony.
|
|||
nodejs_version = "latest" # By default "latest" will equal the latest stable version
|
||||
nodejs_packages = [ # List any global NodeJS packages that you want to install
|
||||
"bower",
|
||||
"ember"
|
||||
"gulp"
|
||||
]
|
||||
|
||||
sphinxsearch_version = "rel22" # rel20, rel21, rel22, beta, daily, stable
|
||||
|
|
|
@ -21,24 +21,22 @@ cp /vagrant/system/.env.example /vagrant/system/.env
|
|||
mysql -u root -proot -e 'create database flarum'
|
||||
|
||||
### Setup flarum/core and install dependencies ###
|
||||
cd /vagrant
|
||||
git submodule init
|
||||
git submodule update
|
||||
cd /vagrant/system/core
|
||||
composer install --prefer-dist
|
||||
cd /vagrant/system
|
||||
composer install --prefer-dist
|
||||
composer dump-autoload
|
||||
|
||||
cd /vagrant/core/js
|
||||
cd /vagrant/system/core/js
|
||||
bower install
|
||||
cd /vagrant/core/js/forum
|
||||
cd /vagrant/system/core/js/forum
|
||||
npm install
|
||||
gulp
|
||||
cd /vagrant/core/js/admin
|
||||
cd /vagrant/system/core/js/admin
|
||||
npm install
|
||||
gulp
|
||||
|
||||
cd /vagrant/system
|
||||
php artisan vendor:publish
|
||||
php artisan flarum:install
|
||||
php artisan flarum:seed
|
||||
|
|
Loading…
Reference in New Issue