diff --git a/README.md b/README.md index e5a788771..bc1c7fe95 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 @@ -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 diff --git a/package.json b/package.json index 4d0c557df..3a09f2ca5 100644 --- a/package.json +++ b/package.json @@ -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}')",