An editor for glycan structure diagrams (http://glycano.cs.uct.ac.za).
Uses Scala.js to compile to javascript, with bindings to React provided through scalajs-react.
Requires sbt.
sbt
~fastOptJS
- Browse to
http://localhost:12345/core/target/scala-2.11/classes/index-fastopt.html
. - Source changes detected by sbt will trigger recompilation; press enter to stop monitoring.
sbt
fullOptJS
- Browse to
http://localhost:12345/core/target/scala-2.11/classes/index-fullopt.html
.
sbt
fullOptJS
- Copy
core/target/scala-2.11/glycanoweb-opt.js
tocore/target/scala-2.11/classes/js/glycanoweb-opt.js
. - Use
core/target/scala-2.11/classes/index.html
(includingfavicon.*
and all files in the sub-directoriescss
,fonts
, andjs
).