gnuboot/website-build
Denis 'GNUtoo' Carikli c007ab227d
website-build: build.sh: switch to GNU Boot repositories.
Since the website and the images were merged in GNU boot respectively
in site/ and www/, we can now modify GNU boot to only be cloned once
to build the website.

The image path was also modified to make images work both in the local
served website and at gnu.org and also to minimize the differences
between the test and deployment setups.

Libreboot.at also hosted a copy of Untitled to make it simple to
control the revision being used.

But in the longer term, it would be a bad idea to do that again for
GNU boot since there are plans to convert the website and/or
documentation to the texinfo format, and so at some point Untitled
will stop being used, and we don't want to end up with a git
repository that needs to be kept for historic reasons but that is
unused.

Since the website isn't ready we also have a redirection to Savannah
to make sure that visitors are redirected to something meaningful.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Neox: Suggested the split in smaller commits and various ways to do
    that (including some that were used).
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-07 19:08:25 +01:00
..
.gitignore Import website-build to build the GNU Boot website. 2023-11-07 18:28:16 +01:00
COPYING Import website-build to build the GNU Boot website. 2023-11-07 18:28:16 +01:00
Makefile.am website-build: build.sh: switch to GNU Boot repositories. 2023-11-07 19:08:25 +01:00
README website-build: build.sh: switch to GNU Boot repositories. 2023-11-07 19:08:25 +01:00
autogen.sh Import website-build to build the GNU Boot website. 2023-11-07 18:28:16 +01:00
build.sh website-build: build.sh: switch to GNU Boot repositories. 2023-11-07 19:08:25 +01:00
check.sh Import website-build to build the GNU Boot website. 2023-11-07 18:28:16 +01:00
configure.ac Move images in the website directory 2023-11-07 19:07:59 +01:00
index.html website-build: build.sh: switch to GNU Boot repositories. 2023-11-07 19:08:25 +01:00
lighttpd.conf.tmpl Import website-build to build the GNU Boot website. 2023-11-07 18:28:16 +01:00
serve.sh website-build: build.sh: switch to GNU Boot repositories. 2023-11-07 19:08:25 +01:00

README

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

== Local deployments ==
Here's how to deploy the website in a local webserver:
$ ./autogen.sh
$ ./configure
$ make test

Then you can point a browser to http://localhost:8080/software/gnuboot/test/web/

== 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.