Start Online 3Dmol Viewer on Linux

Q

How to start Online 3Dmol Viewer on my local server?

✍: FYIcenter.com

A

If you have installed the Online 3Dmol Viewer in your home directory as shown in the previous tutorial, you can start and test it with these steps:

1. Go to the Online 3Dmol Viewer directory:

fyicenter$ cd 3Dmol.js/packages/learning-environment

2. Run Online 3Dmol Viewer as a background job:

fyicenter$ python3 server.py &

[1] 13350

3. Test Online 3Dmol Viewer as a local host:

fyicenter$ curl http://localhost:5000

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: 
  <a href="/static/viewer.html">static/viewer.html</a>

Online 3Dmol Viewer is up and running.

 

Code Bug in server.py in 3Dmol Source Code

Install Online 3Dmol Viewer on Linux

Hosting Online 3Dmol Viewer

⇑⇑ 3Dmol.js FAQ

2023-09-10, 268🔥, 0💬