@@ -11,25 +11,30 @@ simulator. See OCNS/SoftwareWG#117 For more details, and announcements of the re
1111meetings.
1212
1313## Development notes
14- A fresh virtual environment is suggested for development:
14+ The website is built with [ "vanilla JS"] ( http://vanilla-js.com/ ) and uses the [ cytoscape.js] ( https://js.cytoscape.org/ )
15+ library for graph visualisation. The full code runs in the browser, but in order to make it able to access the data, it
16+ needs to run in a local webserver. You can either use such a webserver as provided by your IDE (e.g. the
17+ [ Live Server extension] ( https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer ) ) for VS Code,
18+ or use Python's built-in webserver:
19+ ```
20+ python -m http.server
21+ ```
22+
23+ Python is also used to pre-process and validate the data when simulator descriptions are changed in one of the YAML files.
24+
25+ If you want to work on that part, we suggest a virtual environment for development:
1526```
1627python -m venv .venv
1728source .venv/bin/activate
1829```
1930One can also use ` conda ` and other tools to set up virtual environments.
2031
21- This project is an app built using [ Holoviz Panel] ( https://panel.holoviz.org/ ) .
22- You can install it using
32+ To install the dependencies, you can use:
2333```
2434python -m pip install -r requirements.txt
2535```
26- To run the app, use:
27- ```
28- panel serve --show src/project_browser.py --static-dirs assets=./assets
29- ```
30- This will open a browser window with the app.
31- Firefox/Chrome based browsers are supported.
32- Please file an issue if the app does not work with your browser.
36+
37+
3338
3439### Contribution notes
3540Please install the necessary linters/pre-commit hooks using the ` requirements-dev.txt ` file:
@@ -47,9 +52,11 @@ pre-commit install
4752Now, the pre-commit checks will be run before each commit.
4853
4954## Deployment
50- The web app is hosted on [ fly.io] ( https://fly.io/ ) . See https://simselect.fly.dev/ for the latest released (tagged) version, and
51- https://simselect-dev.fly.dev for the latest version directly built from the `` main `` branch.
55+ The website is hosted on https://ocns.github.io/simselect
5256
57+ ## Dependencies
58+ The layout is using the fCoSE algorithm by the [ i-Vis Research Lab at Bilkent University] ( http://www.cs.bilkent.edu.tr/~ivis/ ) .
59+ The files in the ` assets/js ` directory are minified versions of the original files, licensed under the [ MIT license] ( LICENSE.MIT ) .
5360
5461## Contributors
5562
0 commit comments