mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
clover_simulation: add script for running gzweb
This commit is contained in:
8
clover_simulation/scripts/gzweb
Executable file
8
clover_simulation/scripts/gzweb
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# script for running gzweb
|
||||||
|
# usage: ./gzweb [<port>]
|
||||||
|
|
||||||
|
export NVM_DIR=$HOME/.nvm
|
||||||
|
source $NVM_DIR/nvm.sh
|
||||||
|
npm start --prefix $HOME/gzweb -p ${1-8080}
|
||||||
Reference in New Issue
Block a user