Skip to content

Commit

Permalink
Add distribution of bundled JS & CSS files in the repository rather t…
Browse files Browse the repository at this point in the history
…han in the github release page. Update README.
  • Loading branch information
gcornut committed Jan 24, 2018
1 parent 07c732b commit 15a8324
Show file tree
Hide file tree
Showing 7 changed files with 21,278 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ deployLocal.sh

demo/data/private/

build/
dist/index.html
node_modules/
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,11 @@ The Breeding API used in this widget **must implement** the [observation variabl

### In Ephesis ontology portal

The latest release of this widget is accessible on the [:link: Ephesis ontology portal](https://urgi.versailles.inra.fr/ephesis/ephesis/ontologyportal.do).

### From release

1. Download the latest `distrib-wit-demo.zip` on the [release page ](https://github.com/gnpis/trait-ontology-widget/releases).
2. Run a static HTTP server in the extracted folder (required for Ajax loading)
3. Open the web page in the browser
The latest release of this widget is accessible on the [:link: Ephesis ontology portal](https://urgi.versailles.inra.fr/ephesis/ephesis/ontologyportal.do) or on the [:link: Ephesis search form](https://urgi.versailles.inra.fr/ephesis/ephesis/viewer.do#showForm).

### From source code

1. Clone the repository
1. Clone the repository or download a [release archive](/releases)
2. Install [Node.js](https://nodejs.org/)
3. Fetch dependencies:

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

BUILD_FOLDER="./build"
BUILD_FOLDER="./dist"
MODULES="./node_modules"

[ -d "$MODULES" ] || {
Expand Down
Loading

0 comments on commit 15a8324

Please sign in to comment.