shared-hosting/README.md

23 lines
576 B
Markdown

[![status-badge](https://woodpecker.gna.org/api/badges/Gna/shared-hosting/status.svg)](https://woodpecker.gna.org/Gna/shared-hosting)
# Shared Hosting policy checker
## Development
### Setup environment:
Copy env variables file
```
cp .env.sample .env.local
```
And fill the necessary variables. Policy checker requires an access token
from an administrator account on Gitea.
To generate one, go to Settings > Applications > Manage Access Tokens
and click generate token. Save the token in `GITEA_SUDO_TOKEN`
`GITEA_URL` is the URL of the development Gitea instance.