hi5a / website

Monorepo with website and API

Home Page:https://beta.flathub.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backend CI Frontend CI Translation status

flathub.org

This is the source code for the website, both backend and frontend. That's running on https://beta.flathub.org and hopefully soon https://flathub.org

Code contribution

First of all thanks for considering contributing to this project!

Pull request are welcome. Please, create an issue first explaining what you want to do and how.

Development

You'll need git, yarn, docker and docker-compose.

Go to the folder where you manage your projects and checkout this project.

Then start the backend:

cd backend
docker-compose up

Use another terminal session to run the following or use your browser to go to localhost:8000/docs and use the UI to run the /update endpoint. This will populate the database with the latest data from the flathub.

curl -X POST localhost:8000/update

Then open a terminal and go the the frontend folder. If it's the first time you run it, run

yarn

Then you should be able to start the dev server and see changed to the code:

yarn dev

More backend instructions

You can find more backend instructions in the readme in the backend folder.

Translations

We're using Weblate to translate the UI. So feel free, to contribute translations over there.

About

Monorepo with website and API

https://beta.flathub.org

License:Apache License 2.0


Languages

Language:TypeScript 45.6%Language:Python 45.3%Language:SCSS 7.8%Language:JavaScript 0.8%Language:Dockerfile 0.4%Language:Mako 0.1%Language:Shell 0.0%