Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
user:kluong:using_cloudflare_pages [2022/10/01 00:06] kluong created |
user:kluong:using_cloudflare_pages [2022/10/01 00:10] (current) kluong |
||
---|---|---|---|
Line 3: | Line 3: | ||
Now that github doesn't offer static website hosting for private repositories anymore we'll need to find other options to host the scel-hawaii.org website. There are a couple of options: | Now that github doesn't offer static website hosting for private repositories anymore we'll need to find other options to host the scel-hawaii.org website. There are a couple of options: | ||
- | - make the repository public and use pages | + | - make the repository public and use pages |
- | - use a traditional host | + | - use a traditional host |
- | - use something like cloudflare pages. | + | - use something like cloudflare pages. |
**Background** | **Background** | ||
Line 13: | Line 13: | ||
You can run it locally, although it's pretty old so you may need to update some dependencies. | You can run it locally, although it's pretty old so you may need to update some dependencies. | ||
- | Here's what I had to do (note you'll need `rvm` installed) | + | Here's what I had to do (note you'll need `rvm` installed): |
<code> | <code> | ||
Line 20: | Line 20: | ||
$ rvm use 2.7.5 | $ rvm use 2.7.5 | ||
Using /home/kluong/.rvm/gems/ruby-2.7.5 | Using /home/kluong/.rvm/gems/ruby-2.7.5 | ||
- | |||
- | # fix a compatibility issue with ruby 2.7.5 | ||
- | $ bundle add webrick | ||
# remove the existing gemfile so we can update the dependencies | # remove the existing gemfile so we can update the dependencies |