Skip to content

Commit

Permalink
Merge pull request #1449 from ngageoint/30-containerize-local
Browse files Browse the repository at this point in the history
30 - containerized local development
  • Loading branch information
cwerthomni authored May 17, 2024
2 parents e4f2fb5 + d1b5642 commit 7185177
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Questions? Ask them in the [forum](https://groups.google.com/forum/#!forum/opens
## Prerequisites

* Java 1.7.0+
* Node/NPM
* Python
* Node 20
* Python 3

## Getting Started
OpenSphere is natively developed on Linux and should run great on OS X and typical Linux distributions. See [Windows Development](http://opensphere.readthedocs.io/en/latest/windows_development.html) for instructions for building on Windows.
Expand All @@ -34,7 +34,8 @@ OpenSphere is natively developed on Linux and should run great on OS X and typic
* Clone OpenSphere to the `workspace` directory
* `yarn install`
* `yarn build`
* Point your browser at `dist/opensphere`
* `npm run start-server`
* Point your browser at `workspace/opensphere/dist/opensphere/index.html`

### NPM

Expand All @@ -43,7 +44,8 @@ If you prefer to use NPM, that's fine too:
* Clone the project
* `npm install`
* `npm run build`
* Point your browser at `dist/opensphere`
* `npm run start-server`
* Point your browser at `localhost:8282/workspace/opensphere/dist/opensphere/index.html`

## Hosting

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
"perms": "chmod -R u+rwX,go+rX,go-w .",
"semantic-release": "semantic-release --dry-run",
"start-server": "light-server --serve ../../ --bind localhost --port 8282 --no-reload --open --quiet &",
"container-start-server": "light-server --serve ../../ --bind 0.0.0.0 --port 8282 --no-reload --open --quiet",
"stop-server": "run-script-os",
"stop-server:darwin:linux": "pkill -f light-server",
"stop-server:windows": "taskkill -F -PID $(netstat -ano | findstr 0.0.0.0:8282 | awk '{print $5}')",
Expand Down

0 comments on commit 7185177

Please sign in to comment.