Add standalone run.sh and configure localhost
This commit is contained in:
parent
5cc99949fd
commit
12c58b70fa
4 changed files with 24 additions and 3 deletions
15
resources/standalone/run.sh
Normal file
15
resources/standalone/run.sh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# start script for standalone zip
|
||||
|
||||
# start BRouter server on localhost
|
||||
x-terminal-emulator -T "BRouter server" -e "./standalone/local.sh"
|
||||
|
||||
# start HTTP server for current directory (for brouter-web and profiles)
|
||||
#x-terminal-emulator -T "BRouter-Web HTTP server" -e "python -m SimpleHTTPServer 8000"
|
||||
x-terminal-emulator -T "BRouter-Web HTTP server" -e "python3 -m http.server 8000 --bind localhost"
|
||||
|
||||
# open BRouter-Web in default browser
|
||||
xdg-open http://localhost:8000/brouter-web/
|
||||
4
resources/standalone/segments4/.gitignore
vendored
Normal file
4
resources/standalone/segments4/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue