gnuboot/website-build
Denis 'GNUtoo' Carikli 75f335ee5f
website-build: Add Savannah CVS constraint.
Most GNU projects use a CVS repository to publish their web pages.

For some reasons, in the CVS root directory (inside the gnuboot CVS
module) the only file that we can add is index.html. Subdirectories
don't have this limitation.

So we add a test for that.

In addition when the website will be ready we will most likely have an
html file that redirect to a subdirectory (like /web/) and so we add
the html file for doing that too.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-07 19:08:48 +01:00
..
test website-build: Add Savannah CVS constraint. 2023-11-07 19:08:48 +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 website-build: Add Savannah CVS constraint. 2023-11-07 19:08:48 +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.