Skip to content

Commit a1847a6

Browse files
committed
Merge remote-tracking branch 'origin/pr/237'
* origin/pr/237: Update README.md update README, signature Make previous commit more robust Update README.md to include more complete instructions Update README.md Update Makefile Provide new solution for local builds Update Gemfile
2 parents 4f62e45 + f0ad5c7 commit a1847a6

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
source 'https://rubygems.org'
22
gem 'github-pages', group: :jekyll_plugins
33
gem 'json', '~> 2.0'
4+
gem 'webrick'

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@ all:
44
clean:
55
$(RM) -r _site
66

7-
.PHONY: all clean
7+
rootless:
8+
jekyll serve
9+
10+
rootless-setup:
11+
gem install --user-install github-pages webrick
12+
13+
.PHONY: all clean rootless rootless-setup

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,36 @@ Git submodules for content:
5656

5757
## Instructions
5858

59+
### Ruby Gems
60+
61+
These instructions have been tested on a Fedora 38 qube on QubesOS 4.1 and on the following qubes on QubesOS 4.2: `debian-12-xfce`, `debian-12`, `fedora-40-xfce`, `fedora-40`, `fedora-39-xfce`, `fedora-39`, `fedora-38-xfce`, `fedora-38`.
62+
63+
1. Install in your template (or standalone): `ruby-devel` (if Fedora-based) or `ruby-all-dev`, `make`, `g++` (if Debian-based)
64+
65+
2. In your AppVM based on that template (or the same standalone), clone this repo, incl. all submodules, and enter it:
66+
67+
$ git clone --recursive https://github.com/QubesOS/qubesos.github.io.git
68+
$ cd qubesos.github.io/
69+
70+
3. Finish setup in the repo folder (requires internet connection):
71+
72+
$ make rootless-setup
73+
On Debian-based AppVMs / Standalones, you need to also put the gems on your PATH:
74+
75+
$ echo "PATH=\$PATH:$(find ~/.local/share/gem/ruby -type d -name bin | tail -n1)" >> ~/.bashrc
76+
$ . ~/.bashrc
77+
78+
4. This concludes setup; when you want to start the local server which runs the website (offline):
79+
80+
$ make rootless
81+
82+
5. Then open your browser and navigate to:
83+
84+
http://127.0.0.1:4000/
85+
or
86+
87+
http://localhost:4000/
88+
5989
### Podman Compose
6090

6191
These instructions have been tested on a Fedora 33 qube. Podman is not

0 commit comments

Comments
 (0)