mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-15 03:17:07 +01:00
Alan Orth
aa7f27ae38
Add a screenshot of the documentation website and more information about the Python/Node.js setup and usage.
48 lines
1.9 KiB
Markdown
48 lines
1.9 KiB
Markdown
# ISEAL Core Metadata Set
|
|
The ISEAL Core Metadata Set (ISEAL Core) is a set of structured terms and vocabularies that can be used as metadata to describe, share, and reuse different digital resources across the [ISEAL Community](https://www.isealalliance.org/) and broader set of stakeholders. The resources described using the ISEAL Core are those that sustainability systems typically collect, curate, manage, use, publish and archive. They may be datasets, published research, certificates, videos, images, maps, or other organizational documentation.
|
|
|
|
<p align="center">
|
|
<img width="600" alt="Screenshot of ISEAL Core Metadata Set documentation" src="screenshot.png">
|
|
</p>
|
|
|
|
You can see a user-friendly version of the schema [here](https://alanorth.github.io/iseal-schema/).
|
|
|
|
## Requirements
|
|
|
|
- Python 3.7+ (for parsing the schema)
|
|
- Node.js 12+ (for generating the HTML documentation site)
|
|
|
|
## Python Setup
|
|
Create a Python 3 (3.7+) virtual environment and install the requirements:
|
|
|
|
```console
|
|
$ python3 -m venv virtualenv
|
|
$ source virtualenv/bin/activate
|
|
$ pip install -r requirements.txt
|
|
```
|
|
|
|
Then run the utility scripts to parse the schema:
|
|
|
|
```console
|
|
$ ./util/generate-hugo-content.py -i ./idss_schema_fields_new2.xlsx --clean -d
|
|
```
|
|
|
|
## Node.js Setup
|
|
To generate the HTML documentation site:
|
|
|
|
```console
|
|
$ cd site
|
|
$ npm install
|
|
$ npm run build
|
|
```
|
|
|
|
## TODO
|
|
|
|
- Update links to final version (from alanorth to iseal GitHub)
|
|
- Extract controlled vocabularies and schema.csv to data directory, remove openpyxl dependency
|
|
- Add more information and instructions to README.md
|
|
|
|
## License
|
|
|
|
This project's source code is licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0-standalone.html). This project's text and graphics are licensed under the [Creative Commons Attribution Share Alike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/legalcode) license.
|