-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test commit * test commit 2 * removed test files * test commit 4 * test2 * test3c * remove unnassesary files * fixed missing parantheses * results folder in .gitignore * Local server (#1) * accepeted changes * fixed bug through missing conversion of crs * added helper function * fixed wrong change * remove unused file * remove unused line * added file to run server locally * updated Readme for local server --------- Co-authored-by: Michael Brüggemann <[email protected]> Co-authored-by: mreiner1 <[email protected]> Co-authored-by: Maximilian Reiner <[email protected]>
- Loading branch information
1 parent
98967b7
commit da9c6d4
Showing
5 changed files
with
30 additions
and
3 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 |
---|---|---|
|
@@ -40,3 +40,6 @@ vignettes/*.pdf | |
|
||
#mac | ||
.DS_Store | ||
|
||
#results from backend jobs | ||
/results |
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# build and install package locally (use for development) | ||
remotes::install_local('./',dependencies=TRUE, force=TRUE) | ||
|
||
# Start service | ||
library(openeocubes) | ||
|
||
|
||
aws.host <-Sys.getenv("AWSHOST") | ||
|
||
if (aws.host == ""){ | ||
aws.host = NULL | ||
} | ||
|
||
message("AWS host port id is:") | ||
message(aws.host) | ||
|
||
config = SessionConfig(api.port = 8000, host = "0.0.0.0", aws.ipv4 = aws.host) | ||
config$workspace.path = "/var/openeo/workspace" | ||
createSessionInstance(config) | ||
Session$startSession() |