Skip to content

Commit

Permalink
Polish markup and readme further
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed Dec 1, 2022
1 parent ceba193 commit cc46990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Ermac

Ermac is an embeddable GUI of the [MPDS platform](https://mpds.io). It allows browsing the MPDS scientific data from any website or integrating the MPDS GUI into the existing codebases.

**This is completely free software. Upon compilation it's just a few _static_ web files. Copy them to your web-server in a subfolder and enjoy your _own_ MPDS platform. The data stays at the MPDS server.**
**Ermac is completely free software. Upon compilation it's just a few _static_ web files. Copy them to your web-server in a subfolder and enjoy your _own_ MPDS platform. The data stays at the MPDS server.**


## Usage

An arbitrary static web-server is required, e.g. `python -m SimpleHTTPServer` or `php -S localhost:5555` or `npm i -g http-server && http-server` or whatever. All the content is static. In the **development mode**, the code is served from the `src_js` folder. In the **production mode**, the code in `src_js` should be compiled into a bundle `ermac.min.js`, which is then served. See `example_dev.html` and `example_prod.html` correspondingly.
An arbitrary static web-server is required, e.g. `python -m http.server` or `php -S localhost:5555` or `npm i -g http-server && http-server` or whatever. All the content is static. In the **development mode**, the code is served from the `src_js` folder. In the **production mode**, the code in `src_js` should be compiled into a bundle `ermac.min.js`, which is then served. See `example_dev.html` and `example_prod.html` correspondingly.

```
git clone https://github.com/mpds-io/ermac
Expand Down
2 changes: 1 addition & 1 deletion src_js/markup.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,6 @@ function register_html(){
</div>
</div>
<div id="footer">Editor-in-Chief: Pierre Villars. Section editors: Karin Cenzual, Ihor Savysyuk, Riccarda Caputo. Developed by <a href="https://tilde.pro" target="_blank">Tilde MI</a>.</div>
<div id="footer">Editor-in-Chief: Pierre Villars. Section editors: Karin Cenzual, Ihor Savysyuk, Riccarda Caputo. <a href="https://github.com/mpds-io">Open-source</a> development by <a href="https://tilde.pro" target="_blank">Tilde MI</a>.</div>
`);
}

0 comments on commit cc46990

Please sign in to comment.