Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

relationship with staticgen #42

Open
ghost opened this issue Feb 24, 2019 · 4 comments
Open

relationship with staticgen #42

ghost opened this issue Feb 24, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 24, 2019

several questions:

  1. here https://netlify.com it says "Add your build settings". Does that mean I
    can juse pick any tool from https://staticgen.com and and use that as my
    command? for example jekyll build?

  2. if all programs on https://staticgen.com are not supported "out of the box"
    as described above, which ones are, if any?

  3. i see here https://github.com/netlify/build-image#tools that Hugo is listed,
    does that mean that Hugo is the only generator supported out of the box? if so
    why are Clojure, PHP, etc installed? If not why is Hugo the only generator
    installed? Since the other languages are installed does that mean that any
    generator in those languages is allowed? If so how does that work?

@j-f1
Copy link
Contributor

j-f1 commented Feb 24, 2019

Does tat mean I can just pick any tool … and use that as my command?

Yep!

Is any generator allowed?

Yep! You just have to install it, which should occur automatically based on the files you have (i.e. package.json causes npm/Yarn to be used, Gemfile triggers Bundler, etc.).

@ghost
Copy link
Author

ghost commented Feb 24, 2019

@j-f1 I dont have those files, as im currently just using GitHub Pages

however i am looking to switch from Markdown to Asciidoc

while I could still use GitHub Pages for this, its kind of a clunky process:

https://gohugo.io/hosting-and-deployment/hosting-on-github#github-project-pages

so i was curious if netlify could streamline it for me

@j-f1
Copy link
Contributor

j-f1 commented Feb 24, 2019

Here’s a guide from GitHub with instructions for setting up a Gemfile: https://help.github.com/en/articles/setting-up-your-github-pages-site-locally-with-jekyll#step-2-install-jekyll-using-bundler

@ghost
Copy link
Author

ghost commented Feb 24, 2019

i think i have answered my own questions.

only the tools marked "Deploy to Netlify" are currently supported. however even
if your tool of choice is not marked, it could still work. For example "Nanoc"
uses Ruby, which is part of the included software:

https://github.com/netlify/build-image#included-software

so you would need to create a Gemfile like this:

gem 'nanoc'

https://netlify.com/docs/build-gotchas#command-not-found

Regarding Hugo, it is installed along Ruby, Python etc because it is an
executable, not a script. It does appear that Hugo is currently the only Go
generator supported.

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

No branches or pull requests

1 participant