Skip to content
Snippets Groups Projects
Commit 0ee373e9 authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Added instructions on yarn usage.

parent c573275a
No related branches found
No related tags found
No related merge requests found
...@@ -8,10 +8,12 @@ ...@@ -8,10 +8,12 @@
- Download [Hugo](https://github.com/gohugoio/hugo/releases/latest) and put it in your `PATH`. **Attention:** Use the *extended* version: e.g. `hugo_extended_0.60.1_Windows-64bit.zip` - Download [Hugo](https://github.com/gohugoio/hugo/releases/latest) and put it in your `PATH`. **Attention:** Use the *extended* version: e.g. `hugo_extended_0.60.1_Windows-64bit.zip`
- [Install Pandoc](https://pandoc.org/installing.html) - [Install Pandoc](https://pandoc.org/installing.html)
- Install [Yarn](https://yarnpkg.com/en/docs/install); for downloading required JavaScript & CSS development packages
## Getting started ## Getting started
- Inside the source-directory `ogs/web`: - Inside the source-directory `ogs/web`:
- Run `yarn` once (this will install required css and js packages)
- Run `hugo server` - Run `hugo server`
- Open http://localhost:1313 - Open http://localhost:1313
...@@ -129,7 +131,6 @@ This json-file is then used by the shortcode. ...@@ -129,7 +131,6 @@ This json-file is then used by the shortcode.
### Optional requirements ### Optional requirements
- Install [Yarn](https://yarnpkg.com/en/docs/install); for downloading required JavaScript & CSS development packages
- Install [ParaView](http://www.paraview.org/download/); for converting VTK output files to vtk.js-format for interactive web visualization, check if `pvpython` is either in the `PATH` or ParaView is installed in `/Applications/` on macOS or `/usr/local/opt/paraview` on Linux. CURRENTLY DISABLED! - Install [ParaView](http://www.paraview.org/download/); for converting VTK output files to vtk.js-format for interactive web visualization, check if `pvpython` is either in the `PATH` or ParaView is installed in `/Applications/` on macOS or `/usr/local/opt/paraview` on Linux. CURRENTLY DISABLED!
### Update search index ### Update search index
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment