MolStart molecule viewer for transmembrane proteins http://molstar.org

Alexander Rose 1317def331 fix ensemble models & clashes coloring 5 سال پیش
.vscode 6723a3b94f added vscode debug config 5 سال پیش
src 1317def331 fix ensemble models & clashes coloring 5 سال پیش
.eslintrc.json a26a1f7f4a update and adjusted to new molstar version 5 سال پیش
.gitattributes 4cea30640e initial commit 5 سال پیش
.gitignore 4cea30640e initial commit 5 سال پیش
LICENSE 4cea30640e initial commit 5 سال پیش
README.md 0a60521242 private package registry 5 سال پیش
package-lock.json 61c55690f8 0.5.3 5 سال پیش
package.json 61c55690f8 0.5.3 5 سال پیش
tsconfig.json 4cea30640e initial commit 5 سال پیش
webpack.config.js 95325e6a7b add welcome toast with version 5 سال پیش

README.md

License

Building & Running

Build:

npm install
npm run build

Build automatically on file save:

npm run watch

Build with debug mode enabled:

DEBUG=molstar npm run watch

Build for production:

npm run build

Run

If not installed previously:

npm install -g http-server

...or a similar solution.

From the root of the project:

http-server -p PORT-NUMBER

and navigate to build/dist/structure-viewer/

Publish

The publish will send the package to our own registry at http://nexus3.rcsb.org/repository/npm-rcsb/ (not to NPM as this is currently a private project).

Prerelease

npm version prerelease # asumes the current version ends with '-dev.X'
npm publish --tag next

Release

npm version 0.X.0 # provide valid semver string
npm publish