Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abbe98/nationalmuseum-ksamsok
An OAI-PMH endpoint implemented over Nationalmuseums REST API.
https://github.com/abbe98/nationalmuseum-ksamsok
Last synced: 11 days ago
JSON representation
An OAI-PMH endpoint implemented over Nationalmuseums REST API.
- Host: GitHub
- URL: https://github.com/abbe98/nationalmuseum-ksamsok
- Owner: Abbe98
- Created: 2020-03-10T18:05:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:51:38.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T18:54:21.222Z (28 days ago)
- Language: Python
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nationalmuseum K-samsök
An OAI-PMH endpoint implemented over Nationalmuseum's REST API. Only a subset of OAI-PMH is implemented and in its current state it is not compatible with K-samsök's harvester.
## Development
With [pipenv](https://pipenv.readthedocs.io/en/latest/).
```bash
pipenv install
pipenv run flask run
```## Deployment
The dockerfile within this repository can be used for deployment behind a webserver such as Nginx or Apache which would act as a reverse proxy. You will however need to update the variables in `.env`, in particular `BASEURL`(The URL exposed to the public) and `ADMINEMAIL`.
Running with Docker:
```bash
docker build . -t oai-pmh
docker run -d -p 5000:5000 --restart=always --env-file=.env oai-pmh
```