https://github.com/packit/dashboard
Packit-service web UI dashboard
https://github.com/packit/dashboard
dashboard hacktoberfest
Last synced: 11 months ago
JSON representation
Packit-service web UI dashboard
- Host: GitHub
- URL: https://github.com/packit/dashboard
- Owner: packit
- License: mit
- Created: 2019-11-21T12:08:57.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T10:32:56.000Z (about 2 years ago)
- Last Synced: 2024-05-03T20:10:58.643Z (about 2 years ago)
- Topics: dashboard, hacktoberfest
- Language: TypeScript
- Homepage:
- Size: 1.67 MB
- Stars: 11
- Watchers: 7
- Forks: 35
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Dashboard for Packit
[dashboard.packit.dev](https://dashboard.packit.dev)

Dashboard for [Packit Service](https://github.com/packit-service).
Uses [Packit Service API](https://prod.packit.dev/api) (or the [staging API](https://stg.packit.dev/api)
for [the staging instance](https://dashboard.stg.packit.dev)).
## Local Development
### Running the dashboard locally
```bash
# install dependencies
:~/dashboard $ make install-dependencies
```
```bash
# this will start the flask development server
:~/dashboard $ make run-dev-flask
# in another terminal
:~/dashboard $ make run-dev-frontend
# use the frontend application for development
# it will proxy non react requests to flask during dev
# read the Makefile for details
```
(you make have to use modify the make command if you want to run flask in a virtulenv instead of using `python3-flask` from the fedora repos.)
```bash
# to create a production build of react and/or any other javascript libs
:~/dashboard $ make transpile-prod
# now forget everything about npm, deploy flask the usual way
```
### Running the dashboard in a container
```bash
:~/dashboard $ make run-container-stg
```
For more details, see the [contribution guide](CONTRIBUTING.md).
### Pre-commit
> [!NOTE]
>
> For more details on `pre-commit` see https://github.com/packit/contributing#pre-commit
Running `pre-commit` is recommended for development, this will run a few tasks that are helpful
```bash
# install pre-commit on your system
:~/dashboard $ pip3 install pre-commit
# add pre-commit to git hooks for committing and pushing
:~/dashboard $ pre-commit install -t pre-commit -t pre-push
```
## More Info
If you'd like to know more about [packit](https://github.com/packit-service), please check:
- Our website: [packit.dev](https://packit.dev/)
- [Packit Service](https://github.com/packit-service/packit-service)
- [Packit](https://github.com/packit-service/packit)