Go to file
Denis 'GNUtoo' Carikli eb5845b8b1
build.sh: improve command line parsing
The previous code was simple and worked but it didn't scale.

With one --with-*-path argument, we have only one elif clause. With 2
--with-*-path arguments we end up with 4 elif clauses. And with 3
--with-*-path arguments we end up with 13 elif clauses which is way
too much.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2023-04-04 16:17:16 +02:00
.gitignore Convert to autotools to enable configuring the lbwww directory 2023-03-23 01:55:59 +01:00
COPYING Initial import 2022-11-22 20:33:08 +01:00
Makefile.am configure.ac: Add --with-lbwww-img-path=PATH 2023-04-04 16:17:16 +02:00
README Convert to autotools to enable configuring the lbwww directory 2023-03-23 01:55:59 +01:00
autogen.sh Convert to autotools to enable configuring the lbwww directory 2023-03-23 01:55:59 +01:00
build.sh build.sh: improve command line parsing 2023-04-04 16:17:16 +02:00
check.sh Add automatic tests 2023-04-04 16:14:41 +02:00
configure.ac configure.ac: Add --with-lbwww-img-path=PATH 2023-04-04 16:17:16 +02: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 ==
* autoconf
* automake
* 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.