Skip to content

Installing to an existing Laravel project copy and configure assets default configuration #1326

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

Open
SDJeff opened this issue Apr 5, 2025 · 0 comments

Comments

@SDJeff
Copy link

SDJeff commented Apr 5, 2025

If you installing Statamic to an existing Laravel project it would be nice if there would be a command or addition that

  1. adding the folder /assets to the /public folder
  2. adding /assets/assets.yaml to the /content folder
  3. and add the config
    'assets' => [ 'driver' => 'local', 'root' => public_path('assets'), 'url' => '/assets', 'visibility' => 'public', 'throw' => false, 'report' => false, ],

to config/database.php.

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