diff --git a/README.md b/README.md index ba3c2f0..e51a05c 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,14 @@ python -c "from http.server import HTTPServer, SimpleHTTPRequestHandler; import ``` +Then you run the npm script to start the server and open the browser + +```bash +export TEST_URL="http://localhost:8000/zarr_store.zarr" +npm run start +``` + + + + diff --git a/src/components/App.js b/src/components/App.js index e1ef1e4..02585d9 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -8,6 +8,7 @@ import "../styles/App.css"; //const url = "http://localhost:8000/zarr_store.zarr"; const url = "https://spikeinterface-template-database.s3.us-east-2.amazonaws.com/test_templates"; +const url = process.env.TEST_URL || "https://s3.amazonaws.com/my-bucket/templates"; function App() {