Activate sage

Hello,

I just set up a trellis local development environment. I am also trying to get started with sage.

I have followed these directions to get setup:

This is the directory structure i have:

trellis_example_1/site/web/app/themes/tj-blog-theme

This is the result of ls in this directory:

app
CHANGELOG.md
CODE_OF_CONDUCT.md
composer.json
composer.lock
config
dist
files.txt
LICENSE.md
node_modules
package.json
phpcs.xml
README.md
resources
vendor
yarn.lock

At this point I have done:

composer create-project roots/sage your-theme-name


2. yarn

3. set dev url

4. yarn build

5. yarn build production

6. yarn start

I see the site in my browser.

However, I don't see the sage theme in my dashboard so that I can activate it.

Any tips on how i can activate the theme?

Thank you,

TJ.

Is the site/theme directory actually mounted into the vagrant Trellis box?
Are there other themes in the themes/ folder?

Hi,

Under this folder in the box:

vagrant@trellis1:/srv/www/trellis1.local/current/web/app/themes$

There is just one file .gitkeep

And on my local system I have:

tkhara@tkhara-lenovo:~/envs/trellis/trellis_example_1/site/web/app/themes$ ls

tj-blog-theme/

This is the one I am working on.

And, on the local machine all the other themes seem to be in this path:

/envs/trellis/trellis_example_1/site/web/wp/wp-content/themes


Okay so how do I mount this folder from my local drive to the box so that all changes are automatically copied over?

Thank you,

TJ.

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