Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/addshore/wikibase-cloud-status
A live wikibase.cloud status page
https://github.com/addshore/wikibase-cloud-status
wikibase wikibase-cloud
Last synced: 15 days ago
JSON representation
A live wikibase.cloud status page
- Host: GitHub
- URL: https://github.com/addshore/wikibase-cloud-status
- Owner: addshore
- Created: 2024-07-30T16:55:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T10:41:52.000Z (4 months ago)
- Last Synced: 2024-11-01T01:05:57.714Z (2 months ago)
- Topics: wikibase, wikibase-cloud
- Language: JavaScript
- Homepage: https://addshore.github.io/wikibase-cloud-status/
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wikibase Cloud Status (live)
A cron run from toolforge that populates CSV files with data around the status of wikibase.cloud.
Under the hood, this is performing checks on https://addshore-wikibase-cloud-status.wikibase.cloud/
## Development
You can run the cron locally with:
```sh
python ./py/index.py
```## Deployment
The code is deployed to the `addshore-wikibase-cloud-status` tool.
Access:
```sh
ssh login.toolforge.org
become addshore-wikibase-cloud-status
```Initial setup of python venv (can take ~5 mins):
```sh
mkdir -p ~/www/static
mkdir -p ~/public_html
wget https://raw.githubusercontent.com/addshore/wikibase-cloud-status/main/.lighttpd.conf -O .lighttpd.conf
webservice start
# todo wget venve
toolforge jobs run bootstrap-venv --command "cd $PWD && ./bootstrap_venv.sh" --image python3.11 --wait
wget https://raw.githubusercontent.com/addshore/wikibase-cloud-status/main/py/index.py -O index.py
toolforge jobs run pychecks --command "pyvenv/bin/python index.py" --image python3.11 --continuous
```Then you can update or start the cron with:
```sh
wget https://raw.githubusercontent.com/addshore/wikibase-cloud-status/main/py/index.py -O index.py
toolforge jobs restart pychecks
wget https://raw.githubusercontent.com/addshore/wikibase-cloud-status/main/.lighttpd.conf -O .lighttpd.conf
webservice restart
```You can check the status of the job and webservice with:
```sh
webservice status
toolforge jobs list
```