diff --git a/app/Console/Commands/Update.php b/app/Console/Commands/Update.php index 0f8ff2f10..59594e2b5 100644 --- a/app/Console/Commands/Update.php +++ b/app/Console/Commands/Update.php @@ -64,7 +64,7 @@ class Update extends Command } if ($this->option('composer-install') === true) { - $this->exec('✓ Updating composer dependencies', 'composer install --no-interaction --ignore-platform-reqs'.($this->option('dev') === false ? ' --no-dev' : '')); + $this->exec('✓ Updating composer dependencies', 'composer install --no-interaction'.($this->option('dev') === false ? ' --no-dev' : '')); } if ($this->option('skip-storage-link') !== true && $this->getLaravel()->environment() != 'testing' && ! file_exists(public_path('storage'))) { diff --git a/docs/contribute/readme.md b/docs/contribute/readme.md index 5e3f0cb90..280a2a220 100644 --- a/docs/contribute/readme.md +++ b/docs/contribute/readme.md @@ -93,8 +93,8 @@ Once the above softwares are installed (or if you've finished the installation o 1. If you use Homestead (which uses Vagrant under the hood), `vagrant ssh` will let you login as root inside your VM. 1. Run `make install` in the folder the repository has been cloned. This will run : 1. `cp .env.example .env` to create your own version of all the environment variables needed for the project to work. - 1. `composer install --no-interaction --ignore-platform-reqs` to install all packages. - - Due to an issue with VirtualBox, you may encounter an error at this step due to a plug-in called `package-versions`. If this happens, delete the /vendor folder that was created and run `composer install --no-interaction --ignore-platform-reqs --no-plugins --no-scripts` instead. + 1. `composer install --no-interaction` to install all packages. + - Due to an issue with VirtualBox, you may encounter an error at this step due to a plug-in called `package-versions`. If this happens, delete the /vendor folder that was created and run `composer install --no-interaction --no-plugins --no-scripts` instead. - See this [GitHub Issue](https://github.com/laravel/homestead/issues/1240) for more information. 1. `yarn install` to install all the front-end dependencies and tools needed to compile assets. - If you experience an error related to `EPROTO: protocol error, symlink`, see [here](https://github.com/yarnpkg/yarn/issues/4908). @@ -112,7 +112,7 @@ If you haven't skipped the seeding of fake data, two accounts are created by def * Second account is `blank@blank.com` with the password `blank0`. This account does not contain any data and shall be used to check all the blank states. To update a current installation with the latest dependencies, just run `make update` to run - 1. `composer install --no-interaction --ignore-platform-reqs` + 1. `composer install --no-interaction` 1. `yarn upgrade` 1. `yarn run dev` 1. `php artisan migrate` diff --git a/docs/installation/providers/cpanel.md b/docs/installation/providers/cpanel.md index 7267e732b..9539da951 100644 --- a/docs/installation/providers/cpanel.md +++ b/docs/installation/providers/cpanel.md @@ -96,7 +96,7 @@ Open the cPanel file manager and navigate to the directory in which you want to - configure a [mailserver](/docs/installation/mail.md) for registration & reminders to work correctly. Generally you can configure a SMTP account within cPanel and be fine. - set the `APP_ENV` variable to `production`, `local` is only used for the development version. Beware: setting `APP_ENV` to `production` will force HTTPS. Skip this if you're running Monica locally. 3. Log into the cPanel server via SSH and navigate to the directory in which you want to install Monica. -4. Run `composer install --no-interaction --no-dev --ignore-platform-reqs` to install all packages. +4. Run `composer install --no-interaction --no-dev` to install all packages. 5. Run `php artisan key:generate` to generate an application key. This will set `APP_KEY` with the right value automatically. 6. Run `php artisan setup:production -v` to run the migrations, seed the database and symlink folders. diff --git a/docs/installation/providers/debian.md b/docs/installation/providers/debian.md index d110caf80..9292acedc 100644 --- a/docs/installation/providers/debian.md +++ b/docs/installation/providers/debian.md @@ -129,7 +129,7 @@ exit - set `DB_USERNAME` and `DB_PASSWORD` with the settings used behind. - configure a [mailserver](/docs/installation/mail.md) for registration & reminders to work correctly. - set the `APP_ENV` variable to `production`, `local` is only used for the development version. Beware: setting `APP_ENV` to `production` will force HTTPS. Skip this if you're running Monica locally. -1. Run `composer install --no-interaction --no-dev --ignore-platform-reqs` to install all packages. +1. Run `composer install --no-interaction --no-dev` to install all packages. 1. Run `php artisan key:generate` to generate an application key. This will set `APP_KEY` with the right value automatically. 1. Run `php artisan setup:production -v` to run the migrations, seed the database and symlink folders. - You can use `email` and `password` parameter to setup a first account directly: `php artisan setup:production --email=your@email.com --password=yourpassword -v` diff --git a/docs/installation/providers/generic.md b/docs/installation/providers/generic.md index 0f644beff..628843cc3 100644 --- a/docs/installation/providers/generic.md +++ b/docs/installation/providers/generic.md @@ -129,7 +129,7 @@ exit - set `DB_USERNAME` and `DB_PASSWORD` with the settings used behind. - configure a [mailserver](/docs/installation/mail.md) for registration & reminders to work correctly. - set the `APP_ENV` variable to `production`, `local` is only used for the development version. Beware: setting `APP_ENV` to `production` will force HTTPS. Skip this if you're running Monica locally. -3. Run `composer install --no-interaction --no-dev --ignore-platform-reqs` to install all packages. +3. Run `composer install --no-interaction --no-dev` to install all packages. 4. Run `php artisan key:generate` to generate an application key. This will set `APP_KEY` with the right value automatically. 5. Run `php artisan setup:production -v` to run the migrations, seed the database and symlink folders. diff --git a/docs/installation/providers/ubuntu.md b/docs/installation/providers/ubuntu.md index a484a6280..14b2730e6 100644 --- a/docs/installation/providers/ubuntu.md +++ b/docs/installation/providers/ubuntu.md @@ -142,7 +142,7 @@ exit - set `DB_USERNAME` and `DB_PASSWORD` with the settings used behind. - configure a [mailserver](/docs/installation/mail.md) for registration & reminders to work correctly. - set the `APP_ENV` variable to `production`, `local` is only used for the development version. Beware: setting `APP_ENV` to `production` will force HTTPS. Skip this if you're running Monica locally. -1. Run `composer install --no-interaction --no-dev --ignore-platform-reqs` to install all packages. +1. Run `composer install --no-interaction --no-dev` to install all packages. 1. Run `php artisan key:generate` to generate an application key. This will set `APP_KEY` with the right value automatically. 1. Run `php artisan setup:production -v` to run the migrations, seed the database and symlink folders. - You can use `email` and `password` parameter to setup a first account directly: `php artisan setup:production --email=your@email.com --password=yourpassword -v` diff --git a/docs/installation/update.md b/docs/installation/update.md index f634494ca..ad18332cc 100644 --- a/docs/installation/update.md +++ b/docs/installation/update.md @@ -31,7 +31,7 @@ or if you have installed Monica on your own server, you need to follow the steps ``` 1. Update the dependencies of the project: ```sh - composer install --no-interaction --no-dev --ignore-platform-reqs + composer install --no-interaction --no-dev ``` 1. Then, run the following command to make the proper update: ```sh diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index af5383280..138a46215 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -174,7 +174,7 @@ RUN install-composer.sh RUN set -ex; \ \ mkdir -p storage/framework/views; \ - composer install --no-interaction --no-progress --no-dev --ignore-platform-reqs; \ + composer install --no-interaction --no-progress --no-dev; \ composer clear-cache; \ rm -rf .composer diff --git a/scripts/vagrant/build/install-monica.sh b/scripts/vagrant/build/install-monica.sh index 06f35c7da..fea15fa65 100644 --- a/scripts/vagrant/build/install-monica.sh +++ b/scripts/vagrant/build/install-monica.sh @@ -68,7 +68,7 @@ cd $DESTDIR if [ -n "${GIT_TAG:-}" ]; then git checkout tags/$GIT_TAG fi -composer install --no-interaction --no-dev --no-progress --ignore-platform-reqs >/dev/null +composer install --no-interaction --no-dev --no-progress >/dev/null composer clear-cache echo -e "\n\033[4;32mConfiguring Monica\033[0;40m"