The getfedora.org sources now live in a new repository and are built with Flask and Frozen-Flask. The other sites remain in this current repository that you are looking at right now.
This is the Fedora Websites GIT repo used to build the websites starting from the F24 release cycle.
If you like to help the websites team but are not actually a member, you can easily file Pull Requests. Fork this repository, make your changes and submit them here. Check of the Fedora Websites wiki for details on how to become a member of the websites team.
This repository contains the sources for the following Fedora Websites:
WARNING: DO NOT execute the following steps as root, just use your normal user:
Since the build process for these pages depend on python2 packages that are no longer packaged in Fedora, the build process and local test server may be run using podman. Podman should be installed by default on Fedora Workstation, for other Fedora releases:
sudo dnf install podman
git clone https://pagure.io/fedora-websites.git
We need a podman image with the dependencies installed, to build the image from the provided Dockerfile, run the following in the newly checked out
podman build -t fedora-websites .
Run podman specifying the current directory as the container working directory and the
podman run -it -p 5000:5000 -v "$(pwd):/opt/:z" -w /opt fedora-websites
For example, if you want to work on alt.fedoraproject.org, use:
make en test
This will run the build, start httpd to serve the built content at localhost:5000.
Note: if you have caching problems you can clean the instance even more: