Roots Discourse

First installation

Hi there! Didn’t find an answer so create a new topic.
I’m newbie here and trying out bedock.
So here I have

  • OS X and nginx running
  • installed bedrock

The website is opens and works BUT it looks weird (some css styles doesn’t applies).
Also after I’ve installed a theme via composer (composer require wpackagist-theme/activello) I can see it in dashboard. And when I click “activate” an error is appears (File not found.)

It seems to that both issues are connected coz

  1. on home page in devtools there is incorrect destination for some stylesheets https://prnt.sc/sfb5op (the second link has douplicated ${WP_HOME}/wp/)
  2. After clicking “activate” on a theme browsers url sets as ‘http://bad.localhost/wp/wp-admin/bad.localhost/wp/wp-admin/themes.php?action=activate&stylesheet=activello&_wpnonce=b7f03b2cdc

Will really appreciated for help.

What are the contents of your .env file?

Here is the. env

DB_NAME=‘bedrock’
DB_USER=‘baduser’
DB_PASSWORD=‘123’

DB_HOST=‘localhost’
WP_ENV=‘development’
WP_HOME=‘bad.localhost’
WP_SITEURL="${WP_HOME}/wp/"
WP_DEBUG_LOG=/path/to/debug.log

Generate your keys here: https://roots.io/salts.html

AUTH_KEY=‘generateme’
SECURE_AUTH_KEY=‘generateme’
LOGGED_IN_KEY=‘generateme’
NONCE_KEY=‘generateme’
AUTH_SALT=‘generateme’
SECURE_AUTH_SALT=‘generateme’
LOGGED_IN_SALT=‘generateme’
NONCE_SALT=‘generateme’

Your WP_HOME value needs a protocol set

1 Like

Cool! Thanx a lot, so easy peezzie)

This topic was automatically closed after 42 days. New replies are no longer allowed.