-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Geode-solutions/feat/dynamic_port_and_volume
Feat/dynamic port and volume
- Loading branch information
Showing
4 changed files
with
16 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
opengeodeweb-viewer | ||
OpenGeodeWeb-Viewer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |