dms-view is a single-page web application that can be run from any web server.
To deploy your own instance of the
dms-view tool, clone the dms-view repository into a directory name of your choice within your existing web server’s publicly available directory structure.
For example, our local development for
dms-view works like this.
dms-viewrepository and change into its local directory.
git clone https://github.com/dms-view/dms-view.github.io.git cd dms-view.github.io
http-server -a 127.0.0.1 -p 8000
Navigate to http://127.0.0.1:8000 in your browser.
Modify source code for
dms-view as desired and refresh the local version in your browser to see your changes.
dms-view loads data (CSVs, PDB files, the font for logo plots, etc.) by making HTTP requests to publicly available servers.
This means that you cannot load local data from your computer unless it is in a directory that is visible to your web server.
In the example above, all files from the top-level
dms-view repository directory and below will be accessible to your web server.
We welcome contributions to the
dms-view code and documentation.
Consult our contributing guide for more details.