statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.
https://statiq.dev/web
Other
1.64k stars 236 forks source link

Clueless Coder #862

Closed evanricard closed 4 years ago

evanricard commented 4 years ago

Hey Wyam team,

I realize you are not the purveyors of Appveyor but I was wondering if someone could help explain what this means in my Appveyor output I'd be obliged.

image

I believe I've configured the access token and the appveyor.yml correctly...probably not. It looks like it's looking for some sort of local relative path as a fallback but this is not where I have my wyam project.

Anyways, thanks!

gep13 commented 4 years ago

@evanricard can you confirm what version of Wyam you are using?

@daveaglick recently pushed out a new version of Wyam that should have fixed this issue. See here: https://github.com/Wyamio/Wyam/releases/tag/v2.2.7 for more details.

evanricard commented 4 years ago

Ah ok I will try that Gary - thank you; I am using v2.2.5

evanricard commented 4 years ago

Had the chance to run an uninstall and do a dotnet tool install -g Wyam.Tool --version 2.27. Is that the correct command to get going?

Unforunately the only files that come with a wyam new --recipe Blog in this version of the tool only give me a config.yml and an input directory....I'll inspect the tool more in the morning. image

gep13 commented 4 years ago

@evanricard said... Is that the correct command to get going?

Yes, I believe so. If you run wyam --version do you get 2.2.7 in the output?

@evanricard said... wyam new --recipe Blog in this version of the tool only give me a config.yml and an input directory.

now we are into the realm of things I can't really help with, sorry 😢 Hopefully @daveaglick will be able to add more here.

evanricard commented 4 years ago

Yes, 2.2.7. I have the source code, the zip, and the Nuget package/tool!

daveaglick commented 4 years ago

@evanricard The error you were originally seeing seems like it's a known bug that was fixed in 2.2.7. Given that you were able to run new --recipe Blog I think the update fixed your original problem.

the only files that come with a wyam new --recipe Blog in this version of the tool only give me a config.yml and an input directory

That's exactly what you should see! :smile: Wyam places all the files that contribute to the site generation in an input folder and all the stuff that it generates (I.e., what should be uploaded to your server) in an output directory. Running wyam -pw should now produce a simple blog and allow you to preview it. The input directory contains a sample blog post and you can add more posts and/or pages in that folder.

evanricard commented 4 years ago

Oh yes that worked! Thank you Dave 👍

Looking forward to working through the rest of your code :)

daveaglick commented 4 years ago

Awesome!