openaire-graph-docs/README.md

32 lines
707 B
Markdown
Raw Normal View History

2022-09-01 09:26:04 +02:00
# Website
2022-09-20 18:25:30 +02:00
This website is built using [Docusaurus 2](https://docusaurus.io/); please check [here](https://docusaurus.io/docs/installation#requirements) the requirements to run the project.
### Clone repository
```
$ git clone https://code-repo.d4science.org/D-Net/openaire-graph-docs.git
```
2022-09-01 09:26:04 +02:00
### Installation
```
2022-09-20 18:25:30 +02:00
$ npm install
2022-09-01 09:26:04 +02:00
```
### Local Development
```
2022-09-20 18:25:30 +02:00
$ npm run start
2022-09-01 09:26:04 +02:00
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
2022-09-20 18:25:30 +02:00
### Build and deploy
2022-09-01 09:26:04 +02:00
```
2022-09-20 18:25:30 +02:00
$ npm run build
2022-09-01 09:26:04 +02:00
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.