mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 04:51:39 +02:00
Add more views
This commit is contained in:
11
README.md
11
README.md
@@ -1,4 +1,4 @@
|
||||
# ClusterCockpit with a Golang backend (Only supports archived jobs)
|
||||
# ClusterCockpit with a Golang backend
|
||||
|
||||
[](https://github.com/ClusterCockpit/cc-jobarchive/actions/workflows/test.yml)
|
||||
|
||||
@@ -11,7 +11,12 @@ git clone --recursive git@github.com:ClusterCockpit/cc-jobarchive.git
|
||||
# Prepare frontend
|
||||
cd ./cc-jobarchive/frontend
|
||||
yarn install
|
||||
CCFRONTEND_ROLLUP_INTRO="" yarn build
|
||||
export CCFRONTEND_ROLLUP_INTRO='
|
||||
const JOBVIEW_URL = job => `/monitoring/job/${job.jobId}`;
|
||||
const USERVIEW_URL = userId => `/monitoring/user/${userId}`;
|
||||
const TAG_URL = tag => `/monitoring/jobs/?tag=${tag.id}`;
|
||||
'
|
||||
yarn build
|
||||
|
||||
cd ..
|
||||
go get
|
||||
@@ -45,4 +50,6 @@ This project uses [gqlgen](https://github.com/99designs/gqlgen) for the GraphQL
|
||||
|
||||
- [ ] Documentation
|
||||
- [ ] Write more TODOs
|
||||
- [ ] Caching
|
||||
- [ ] Generate JWTs based on the provided keys
|
||||
|
||||
|
Reference in New Issue
Block a user