https://github.com/opensvc/collector
https://github.com/opensvc/collector
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/opensvc/collector
- Owner: opensvc
- License: apache-2.0
- Created: 2020-10-22T14:20:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-12-01T15:13:05.000Z (7 months ago)
- Last Synced: 2025-12-04T04:31:18.394Z (7 months ago)
- Language: JavaScript
- Homepage: https://www.opensvc.com
- Size: 21 MB
- Stars: 1
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Opensvc collector
=================
https://github.com/opensvc/collector
This package provides the code to run Opensvc Collector
https://collector.opensvc.com
githook pre-commit
==================
This githook ensure fresh static files are served when new release is done.
static files are served from this location based on git HEAD ref
## .git/hooks/pre-commit
cat > .git/hooks/pre-commit <<-EOF
CID="\$(git show HEAD | head -n 1 | awk '{print \$NF}')"
echo "code_rev=\"\$CID\"" > $PWD/init/models/version.py
git add init/models/version.py
EOF
chmod +x .git/hooks/pre-commit