Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify missing vendor instructions #3079

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Here are some things you should know when contributing:
composer install --dev
```
- This could take up to about a minute depending on your internet connection.
- We use Yarn to manage frontend dependencies.
- Depending on the way you installed Yarn, you will need to run either `yarnpkg` or `yarn install` to download the required dependencies.
- You can use the CLI (command line) install script to reset your development environment in less than 5 seconds!
- Run the following command when in the root directory:
```console
Expand Down
10 changes: 5 additions & 5 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@

if (!is_dir(__DIR__ . '/vendor') || !is_dir(__DIR__ . '/core/assets/vendor')) {
die(
"Your installation is missing the 'vendor' or 'core/assets/vendor' directory. These directories are included in
releases, but not in the git repository. For regular installations, please make sure to download a release from
the GitHub releases page, not from the button on the home page to download the latest source code. If you do
want to run the latest version from source control for development versions, please run 'composer install'
and 'yarnpkg'/'yarn install'."
"Your installation is missing the 'vendor' or 'core/assets/vendor' directory.<br>
<br>
Derkades marked this conversation as resolved.
Show resolved Hide resolved
Please use the 'nameless-deps-dist.zip' file, not a source code zip file.<br>
<br>
If you are a developer, please refer to the instructions in CONTRIBUTING.md"
);
}

Expand Down