docs: remove ignore-platform-reqs from composer install (#4940)
This commit is contained in:
@@ -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'))) {
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user