mediabox view server.sh @ rev 5

Add po files and Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 23 21:48:05 2017 +0100 (2017-02-23)
parents
children
line source
1 #!/bin/sh
2 #
3 # server.sh - Serve MediBox via Busybox HTTPd for development
4 #
5 . /lib/libtaz.sh
7 if [ -d "cache" ]; then
8 port=8090
9 echo "Starting server on port: $port"
10 echo "URL: $(boldify http://localhost:$port/)"
11 echo "Press CTRL+C to stop the server"
12 httpd -f -u www:www -p ${port} -c data/httpd.conf
13 else
14 echo "Missing cache dir: cache/"
15 echo "install -d -m 0777 cache"
16 fi && exit 0