Skip to content

Commit

Permalink
Merge pull request #6 from Geode-solutions/feat/dynamic_port_and_volume
Browse files Browse the repository at this point in the history
Feat/dynamic port and volume
  • Loading branch information
JulienChampagnol authored Jul 17, 2024
2 parents 7ad5b36 + 1760d4b commit 5ddc838
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 23 deletions.
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
opengeodeweb-viewer
OpenGeodeWeb-Viewer
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ multidict==6.0.5
# aiohttp
# opengeodeweb-viewer
# yarl
opengeodeweb-viewer==0.1.1
opengeodeweb-viewer==0.2.0
# via -r requirements.in
python-dotenv==1.0.1
# via opengeodeweb-viewer
Expand Down
22 changes: 9 additions & 13 deletions requirements_gpu.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements_gpu.in
Expand All @@ -22,11 +22,11 @@ attrs==23.2.0
# jsonschema
# opengeodeweb-viewer
# referencing
contourpy==1.2.0
contourpy==1.2.1
# via matplotlib
cycler==0.12.1
# via matplotlib
fonttools==4.50.0
fonttools==4.53.1
# via matplotlib
frozenlist==1.4.1
# via
Expand All @@ -37,8 +37,6 @@ idna==3.6
# via
# opengeodeweb-viewer
# yarl
importlib-resources==6.4.0
# via matplotlib
jsonschema==4.21.1
# via opengeodeweb-viewer
jsonschema-specifications==2023.12.1
Expand All @@ -47,22 +45,22 @@ jsonschema-specifications==2023.12.1
# opengeodeweb-viewer
kiwisolver==1.4.5
# via matplotlib
matplotlib==3.8.3
matplotlib==3.9.1
# via vtk
multidict==6.0.5
# via
# aiohttp
# opengeodeweb-viewer
# yarl
numpy==1.26.4
numpy==2.0.0
# via
# contourpy
# matplotlib
opengeodeweb-viewer[gpu]==0.1.1
opengeodeweb-viewer[gpu]==0.2.0
# via -r requirements_gpu.in
packaging==24.0
packaging==24.1
# via matplotlib
pillow==10.3.0
pillow==10.4.0
# via matplotlib
pyparsing==3.1.2
# via matplotlib
Expand All @@ -82,7 +80,7 @@ rpds-py==0.18.0
# referencing
six==1.16.0
# via python-dateutil
vtk==9.3.0
vtk==9.3.1
# via opengeodeweb-viewer
websocket-client==1.7.0
# via opengeodeweb-viewer
Expand All @@ -92,5 +90,3 @@ yarl==1.9.4
# via
# aiohttp
# opengeodeweb-viewer
zipp==3.18.1
# via importlib-resources
13 changes: 5 additions & 8 deletions src/geodeapp_viewer/app.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
from opengeodeweb_viewer import vtkw_server
import os
import dotenv
# Standard library imports

# Third party imports

basedir = os.path.abspath(os.path.dirname(__file__))
dot_env_path = os.path.join(basedir, "./.env")
if os.path.isfile(dot_env_path):
dotenv.load_dotenv(dot_env_path)
# Local application imports
from opengeodeweb_viewer import vtkw_server


def run_viewer():
vtkw_server.run_server()


if __name__ == "__main__":
run_viewer()

0 comments on commit 5ddc838

Please sign in to comment.