Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
VR-demos
Commits
b9328cc0
Commit
b9328cc0
authored
Nov 09, 2018
by
Ruben Jesus Garcia Hernandez
Browse files
Added some documentation and copyright notice.
parent
bb51bdb7
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b9328cc0
...
...
@@ -41,16 +41,14 @@ Subdirectories:
webserver:
htdocs: Web pages containing the VR software and documentation.
cgi-bin: cgi scripts to create suitable config files from a material number.
cgi-bin: cgi scripts to create suitable config files from a material
(material id from NOMAD Encyclopedia or NOMAD schema from Archive).
See Readme.md in this folder for details
containerization:
Docker container running the VR webservices
# install docker
# add your NOMAD username and password in webserver/pass
# build container
sudo docker build -t nomadvr .
# run container
sudo docker run -d -p 8080:8080 nomadvr
# Test e.g. with you.rip.add.res:8080/cgi-bin/NOMAD/material?109702
See Readme.md in this folder for details
RemoteVisualization: NOMAD2xyz app
Transforms a json from encyclopedia or archive into an XYZ file
...
...
containerization/Dockerfile
View file @
b9328cc0
# Copyright 2018 Atte Silanpää
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# note, copy this file to VR-demos folder first
FROM
bitnami/apache:2.4
...
...
@@ -9,7 +23,7 @@ COPY ./webserver/pass /opt/bitnami/apache/
# allow cgi-bin
RUN
sed
-i
's%#LoadModule cgid_module modules/mod_cgid.so%LoadModule cgid_module modules/mod_cgid.so%'
/opt/bitnami/apache/conf/httpd.conf
# add wget. gzip, curl, tar are there by default
# add wget
and zip
. gzip, curl, tar are there by default
USER
root
RUN
apt-get update
\
&&
apt-get
install
-y
wget
\
...
...
containerization/README.md
View file @
b9328cc0
Docker file to build a container to perform the VR conversion webservices
*
Check ../webserver/README.md
*
copy the Dockerfile to .. (VR-demos -folder)
*
install docker
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment