-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Support for yevis-cli 0.4.0 - Fix download button being disabled - Support for long filenames - Fix margin and padding - Display repository name in HTML title - Update package-lock.json - Update version num
- Loading branch information
Showing
13 changed files
with
143 additions
and
6,510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,34 +10,23 @@ Web application for browsing Yevis workflow registry. | |
In addition, see the below links: | ||
|
||
- [`ddbj/workflow-registry`](https://github.com/ddbj/workflow-registry): a workflow registry built and maintained by [DDBJ](https://www.ddbj.nig.ac.jp/) using `yevis-cli` | ||
- [`ddbj/yevis-cli`](https://github.com/ddbj/yevis-cli): a CLI tool to support building and maintaining Yevis workflow registry | ||
- [`ddbj/yevis-cli`](https://github.com/ddbj/yevis-cli): a CLI tool to support building and maintaining the Yevis workflow registry | ||
- [`Yevis Getting Started`](https://ddbj.github.io/yevis-cli/getting_started): the document for Yevis system installation and usage | ||
- [`Yevis Getting Started Ja`](https://ddbj.github.io/yevis-cli/getting_started_ja): 日本語での Yevis system の使い方 | ||
|
||
## Development | ||
## Build and Deploy | ||
|
||
Launch the development server: | ||
We used `node.js v18.x` and `Google Chrome` for development. | ||
If you use an older version of `node.js`, `yevis-web` may not work properly. | ||
At least, the dependent library `Vite` requires `node.js >= 14.6.0`. | ||
|
||
```bash | ||
$ npm ci | ||
$ npm run dev | ||
> [email protected] dev | ||
> vite | ||
vite v2.8.3 dev server running at: | ||
|
||
> Local: http://localhost:3000/ | ||
> Network: use `--host` to expose | ||
``` | ||
|
||
### Build and Deploy | ||
|
||
#### Deploy to GitHub Pages | ||
### Deploy to GitHub Pages | ||
|
||
See [Yevis Getting Started](https://ddbj.github.io/yevis-cli/getting_started#2-preparation-of-yevis-web). | ||
|
||
You can build and deploy using GitHub Action and GitHub Pages. | ||
|
||
#### Deploy to other than GitHub Pages | ||
### Deploy to other than GitHub Pages | ||
|
||
See [Vite - Guide - Deploying a Static Site](https://vitejs.dev/guide/static-deploy.html) as a reference. | ||
|
||
|
@@ -70,13 +59,28 @@ Create a `.env` file and set them to change them. | |
|
||
--- | ||
|
||
Pass the environment variable `YEVIS_WEB_BASE` to set `base` at build time (See [Vite - Guide - GitHub Pages](https://vitejs.dev/guide/static-deploy.html#github-pages) as a reference): | ||
Pass the environment variable `YEVIS_WEB_BASE` to set the `base` at build time (See [Vite - Guide - GitHub Pages](https://vitejs.dev/guide/static-deploy.html#github-pages) as a reference): | ||
|
||
```bash | ||
$ YEVIS_WEB_BASE=/yevis-web/ npm run build | ||
$ YEVIS_WEB_BASE=/yevis-web/ npm run preview | ||
``` | ||
|
||
## Development | ||
|
||
Launch the development server: | ||
|
||
```bash | ||
$ npm ci | ||
$ npm run dev | ||
> [email protected] dev | ||
> vite | ||
vite v2.8.3 dev server running at: | ||
|
||
> Local: http://localhost:3000/ | ||
> Network: use `--host` to expose | ||
``` | ||
|
||
## License | ||
|
||
[Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0). | ||
|
Oops, something went wrong.