julianoappelklein / hokus

A modern CMS for Hugo
https://www.hokuscms.com/
MIT License
607 stars 43 forks source link

macOS: unable to open workspace #64

Open ajmas opened 4 years ago

ajmas commented 4 years ago

OS: macOS 10.15.5 Hoku: 0.6.0

I installed Hoku and told the OS to accept the binary (was wanting me to bin it, due it not being signed) and launched it.

From there I wanted to open an existing Hugo project.

BTW downloading the dmg or zip for 0.6.1 actually result in a 0.6.0 being provided, though not sure whether that is simply due to version number not updated?

julianoappelklein commented 4 years ago

Can you share a screenshot? Maybe it is just an usability issue.

ajmas commented 4 years ago
Screenshot 2020-07-07 at 12 40 55

How should we be loading an existing project?

As a separate issue, I was just finding with the zip the Hokus\ CMS.app/Contents/MacOS/Hokus\ CMS does not have an execute flag on it. Using the DMG is fine.

julianoappelklein commented 4 years ago

You need to create a new website. Pick the website Source Type folder and select a folder containing an existing hugo project.

ajmas commented 4 years ago

Ah that wasn't obvious to me, since I was expecting an 'add' option or something similar.

Okay I now have done this and ran into another issue, in that Hokus does not seem to recognise the configuration being in config/_default/config.toml. I am not sure which version of Hugo this was brought in, but it is there in 0.71+

Next, my content is in the content folder, but Hokus does not seem to register this and instead assumes it is under content/posts

julianoappelklein commented 4 years ago

Yes. Hokus does not assume much of your project. But you can customize it easily. Customize your workspace to solve all these problems. Luckily, there is an UI for that. See the screenshot below to see where you can find the button to "Edit Configurations" of your workspace.

options