An open API service indexing awesome lists of open source software.

https://github.com/opensvc/collector


https://github.com/opensvc/collector

Last synced: 7 months ago
JSON representation

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