fedora-web / websites

Created 5 years ago
Maintained by codeblock
Fedora Websites 2.0  |  https://getfedora.org/
Members 7
Francois Andrieu committed 11 months ago

Websites

This repository have been archived and replaced with the new fedoraproject.org repo on Gitlab.

This repository hosts sources for generating static site of https://getfedora.org.

Contributing

Documentation for getting started with using it can be found here:

Translations are handled by the Fedora localization team on Fedora Weblate.

Translation status

Building Locally

Podman is the recommended way of building fedora-websites.

From the root of the repository, run the following commands to build the necessary components:

podman build -t fedora-websites .
podman run -it --rm -v "$(pwd):/opt/:z" fedora-websites ./scripts/pull-translations.sh
podman run -it --rm -v "$(pwd):/opt/:z" fedora-websites python3 ./scripts/pull-magazine.py
podman run -it --rm -v "$(pwd):/opt/:z" fedora-websites python3 main.py

Now we are ready to run the development server:

podman run -it --rm -v "$(pwd):/opt/:z" -p 5000:5000 fedora-websites flask run --reload --host 0.0.0.0

You may now go to http://localhost:5000/ in your browser of choice.