Go to file
Denis 'GNUtoo' Carikli 0259444361
build.sh: Add --with-lbwww-path to use a local lbwww git repository
The ideal situation would be to move integrate all the files of this
repository inside lbwww to be able to easily test local changes.

However that doesn't work as untitled expect lbwww to be in
untitled/www/lbwww and there is no way to configure that.

Using symlinks doesn't work either as untitled doesn't trust symlinks
as there are TOCTU attacks with it if the distribution doesn't
fs.protected_hardlinks and fs.protected_symlinks in sysctl.

Patching untitled is also not the best option here as it could
potentially add extra maintenance in the long run.

So we add the configuration inside lbwww-build instead.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2023-03-23 01:53:35 +01:00
.gitignore Switch from gnutoo.srht.site/libreboot to libreboot.srht.site 2022-12-20 17:57:19 +01:00
COPYING Initial import 2022-11-22 20:33:08 +01:00
Makefile Update to current domain 2023-03-19 15:30:23 +01:00
README README: Add basic information on dependencies 2023-03-23 01:50:41 +01:00
build.sh build.sh: Add --with-lbwww-path to use a local lbwww git repository 2023-03-23 01:53:35 +01:00
lighttpd.conf.tmpl Add the ability to test the website locally 2022-11-24 02:35:06 +01:00
serve.sh Add the ability to test the website locally 2022-11-24 02:35:06 +01:00

README

== Introduction ==
This project enables to easily build and deploy the Libreboot website.

== Local deployments ==
For local deployments you just need to extract the tarball in a
webroot and have a web server serve that content.

== Deployment on Sourcehut ==
Sourcehut has a way to setup a static website by uploading a tarball
of the content. Users that want to deploy a website there are expected
to follow the official documentation[1] to generate a token and add
this token to the id_oauth2_bearer file in the current directory.

To generate the token, you need to log in and then go on the
https://meta.sr.ht/oauth2/personal-token page. Once there you need to
go in "Limit scope of access grant" and to select at least SITES,
otherwise it won't work (it would fail with the "The specified key
does not exist." message).

[1]https://srht.site/quickstart

== Dependencies ==
* coreutils
* curl: for uploading the website to sourcehut
* guix
* make
* tar

== License ==
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.