2022-09-18 19:15:36 +00:00
|
|
|
[![status-badge](https://woodpecker.gna.org/api/badges/Gna/shared-hosting/status.svg)](https://woodpecker.gna.org/Gna/shared-hosting)
|
|
|
|
|
2022-09-18 19:03:06 +00:00
|
|
|
# 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.
|