The-Balance-FFXIV / glam

A hugo theme for the balance
Other
5 stars 24 forks source link

Make `yarn start` and `yarn start:admin` work and work cross-platform #298

Closed nonowazu closed 2 years ago

nonowazu commented 2 years ago

I found documented in their npm package and on their github repo's barebones documentation that you can set GIT_REPO_DIRECTOR=exampleSite to get it to work on a directory.

Between that and cross-env this should "Just Work™" without any documentation now.

Closes #297

github-actions[bot] commented 2 years ago

1920x1080

1920x1080

1280x720

1280x720

iPhone X

iPhoneX

hintxiv commented 2 years ago

The admin panel doesn't seem to pull content from /exampleSite after this change:

image

nonowazu commented 2 years ago

Try now, it was missing a Y after I moved the env variable from a previous test. Ironic that the typo is also in my PR text.

github-actions[bot] commented 2 years ago

1920x1080

1920x1080

1280x720

1280x720

iPhone X

iPhoneX

hintxiv commented 2 years ago

Works 🎉