https://github.com/opcr-io/opcr-website
Open Policy Registry website
https://github.com/opcr-io/opcr-website
documentation oci opa policy
Last synced: 5 months ago
JSON representation
Open Policy Registry website
- Host: GitHub
- URL: https://github.com/opcr-io/opcr-website
- Owner: opcr-io
- Created: 2021-09-23T16:44:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-07T09:48:57.000Z (about 1 year ago)
- Last Synced: 2025-05-07T10:49:15.086Z (about 1 year ago)
- Topics: documentation, oci, opa, policy
- Language: JavaScript
- Homepage: https://www.openpolicycontainers.com
- Size: 4.31 MB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OPCR Website
This is the source repo for the Open Policy Containers (OPCR) [landing page](https://opcr.io) and documentation site.
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
## Installation
```
$ yarn
```
## Local Development
```
$ yarn start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
## Build
```
$ yarn build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
## Deployment
The main branch is built and deployed with Netlify to https://openpolicyregistry.io.
## Contributions
To contribute a change, open a PR against the main branch. Once merged, it will automatically be deployed.
## Algolia search
`scripts/scrape.sh` contains a script that scrapes the doc site to an Algolia account.
From the room directory of the project, run:
```
$ yarn scrape
```