I’m thoroughly new at Jekyll, so I’d like to ask you some specific questions.
I’m hosting my page (a personal one) at GitHub Pages. Can I deploy single page web app, let’s say a weather app connected to external APIs, in that hosting service using Jekyll? My thinking is that is possible, but I’d like to know if anyone knows something about this I should consider.
What’s the best folder structure I can use at GitHub Pages? When I use the command
Jekyll new my-siteI get this template as a result:
I’ve seen some projects at GitHub pages where the files are stored at
github.com/username/reponameinside a secondary branch, usually named
gh-pages. Do they do that just for keeping the code from the project repo separated from the code that belongs to their GitHub site?
When deploying the site, I know that the files I’m going to use are sent to the
_sitefolder, by default. Are these the files that I’m going to publish in the server? For any Jekyll project. What’s the workflow I have to follow. On the other hand, I’ve know that any compilation and deployment at GitHub Pages is made from the remote repository. Any comments on this?
What dependencies for Jekyll can I use at GitHub Pages? Where’s their documentation? I remember reading somewhere about this, but I lost track where it was that I did so.