Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos in the introduction of building the example site using cabal #788

Open
Fuhsuann opened this issue Aug 1, 2020 · 2 comments
Open

Comments

@Fuhsuann
Copy link

Fuhsuann commented Aug 1, 2020

Hi,
I am new to Hakyll, and thanks for the nice tutorial for Hakyll. There are only two minor typos that may be obvious to adjust, but still I would like to point them out:

  1. You can build the site using: my-site build -> You can build the site using: cabal build
  2. And preview (and build) it using: my-site watch -> And preview (and build) it using: cabal new run site watch
@Minoru
Copy link
Collaborator

Minoru commented Aug 1, 2020

Hi! (I'm not a Hakyll developer, just one of the users.) It appears like these things aren't typos, you just have to take them in the context:

In the my-site directory, you can use cabal new-install to install the site executable (which builds your website). Alternatively, you can just use cabal new-run site [command].

@Fuhsuann
Copy link
Author

Fuhsuann commented Aug 2, 2020

Hi @Minoru !

Thanks for your response! Well at least for me, when I trying to follow the steps of installation, I needed use the command cabal build and cabal new run site watch to build and preview the website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants