Fedora Planet is a distributed communication tool that many Fedora contributors rely on to keep a pulse on Fedora's community. Contributors connect their blogs to Planet Fedora to express to the Fedora community their thoughts and personality as they relate to our project, and to share what they are working on in Fedora through blog posts. [Wiki]
Fedora Planet is using pluto as a feed reader and is currently running on Openshift (OCP) in staging and produção.
All modifications are applied through Ansible. The build is done by running the build_planets.py
script, which is scheduled in cron, with the output files located in site/.
The script build_planets.py
has, by default, references to official Fedora sites such as Fedora Magazine, badges, status, etc., and it uses queries through fasjson to collect the sites that users have added to their page on Fedora Accounts.
As it's provisioned on OCP, the Python script that executes the Pluto build is utilizing the environment variable OPENSHIFT_BUILD_REFERENCE
.
Additionally, Pluto templates are stored in pluto/template, and it builds files that are pointed to in the .txt file.
# Planet template manifest
<Name of the file> <Name of the template file>
To provision the container go to the Dockerfile
directory and run the following commands:
$ sudo podman build -t <image name>:<image version> .
$ sudo podman run -dit --name <container name> -p 8080:80 <image name>:<image version>
When its done the container will be running the Fedora Planet website.
Go to the web browser and see it working by navigating to localhost:8080
.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -sm 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.