Hey,
I'm facing with problem while running the following command:
bin/magento setup:install \
--base-url=http://localhost/magento2ee \
--db-host=localhost \
--db-name=database_test \
--db-user=root \
--db-password=root \
--admin-firstname=admin \
--admin-lastname=admin \
--admin-email=admin@admin.com \
--admin-user=admin \
--admin-password=admin123 \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1 \
--search-engine=elasticsearch7 \
--elasticsearch-host=es-host.example.com \
--elasticsearch-port=9200 \
Everything is building fine but when I go to the localhost the page is not stylized.
I'm newbie in this framework so I don't know what can be the problem.
Here is the screenshot of the localhost page:
https://imgur.com/yQKDqpZ
I hope you can help me.
I want to mention that the nginx root is set up in /
Thanks.
Solved! Go to Solution.
You can follow the below steps or make sure whether you have followed or not:
require __DIR__.'/../app/bootstrap.php';with
require __DIR__.'/app/bootstrap.php';
web/secure/base_static_url | http://localhost/m242/pub/static/ |
web/unsecure/base_static_url | http://localhost/m242/pub/static/ |
web/secure/base_media_url | http://localhost/m242/pub/media/ |
web/unsecure/base_media_url | http://localhost/m242/pub/media/ |
php bin/magento cache:flush
You can follow the below steps or make sure whether you have followed or not:
require __DIR__.'/../app/bootstrap.php';with
require __DIR__.'/app/bootstrap.php';
web/secure/base_static_url | http://localhost/m242/pub/static/ |
web/unsecure/base_static_url | http://localhost/m242/pub/static/ |
web/secure/base_media_url | http://localhost/m242/pub/media/ |
web/unsecure/base_media_url | http://localhost/m242/pub/media/ |
php bin/magento cache:flush