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

Add "php bin/console assets:install" step to README installation instructions #146

Open
ethsam opened this issue Jun 18, 2024 · 0 comments

Comments

@ethsam
Copy link

ethsam commented Jun 18, 2024

Issue Description

I suggest adding a new step in the README installation instructions for the FileManagerBundle. After installing the bundle via Composer, it is essential to run php bin/console assets:install to ensure that all assets are properly published to the public directory. This step is crucial but currently missing from the README, which might lead to confusion or improper setup for new users.

Why This Addition Is Important

The php bin/console assets:install command moves all static files from the bundle's Resources/public directory to the public directory of the Symfony application. This step is critical because it ensures that all the necessary assets (CSS, JavaScript, images, etc.) are available in the web-accessible directory, allowing FileManager to function correctly. Missing this step could prevent FileManager from displaying or functioning correctly, potentially causing a poor user experience or confusion.

Suggested README Update

I propose that the following step be added to the README under the installation section:

### Step 2: Publish Assets

After installing the bundle, you must publish the assets to the public directory. Run the following command:

```bash
php bin/console assets:install

This command will copy necessary files from the bundle's Resources/public directory to your application's public directory, ensuring that FileManager has all the assets it requires.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant