简体   繁体   中英

Rails on Github Pages

I recently set up my own Github Pages site, and I want to extend the functionality. I have a very basic site set up, with some HTML, CSS, Tailwind, and jQuery. I want to use Rails on my site for a blog. I was planning on using Jekyll, but I had some weird installation errors that put me off, and I want to learn Rails and Ruby anyhow, so I can broaden my horizons. Is it possible to host a site with Rails on Github Pages?

Note: I saw the older thread from ~2015 regarding a similar question, but I wasn't sure if those answers are up to date.

Thanks in advance.

GitHub Pages only for static sites. Here is the quote from the documentation

GitHub Pages is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub,

If you want to host Rails-app try Heroku or something similar.

No, it is not possible since GitHub Pages only provide serverless static site hosting, there is no server to run Rails app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM