Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman authored Aug 27, 2024
1 parent 2b837a7 commit bcf7719
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Create a virtual environment and install the package, then launch panel.
python -m venv .venv
source .venv/bin/activate (or .venv/bin/Scripts/activate on Windows)
pip install -e .
panel serve ./src/aind_metadata_viz/app.py --show --allow-websocket-origin=10.128.141.92:5006
panel serve ./src/aind_metadata_viz/app.py --show
```

## Release
Expand All @@ -32,4 +32,15 @@ kill pid
./start_viz.sh
```

`start_viz.sh` is:
```
#!/bin/bash -x
cd ~/aind-metadata-viz
source .venv/bin/activate
nohup panel serve ./src/aind_metadata_viz/app.py --allow-websocket-origin=10.12$
```

The process (should) auto-restart on reboot. See `crontab -e`

0 comments on commit bcf7719

Please sign in to comment.