https://github.com/aserto-dev/opr-website
Open Policy Registry website
https://github.com/aserto-dev/opr-website
Last synced: about 1 year ago
JSON representation
Open Policy Registry website
- Host: GitHub
- URL: https://github.com/aserto-dev/opr-website
- Owner: aserto-dev
- Created: 2022-12-21T01:24:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-01T02:00:41.000Z (over 3 years ago)
- Last Synced: 2025-03-12T05:03:08.880Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1010 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OPCR Website
This is the source repo for the Open Policy Registry (OPCR) [landing page](https://openpolicyregistry.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
```