Usage: ${0##*/} [OPTIONS] [DOMAIN_NAME] [LETSENCRYPT_EMAIL]
Setup dependencies, apache, and gitweb. Then call build.rb.
Usage: ${0##*/} [OPTIONS] [DOMAIN_NAME] [LETSENCRYPT_EMAIL]
Setup dependencies, apache, and gitweb. Then call build.rb.
- case $1 in
- -p) port=$2; shift 2 ;;
- -h|--help) usage ;;
- --) shift; break ;;
- *) echo "$0: Internal error! unexpected args: $*" ; exit 1 ;;
- esac
+ case $1 in
+ -s) allow_symlinks_arg=-s; shift ;;
+ -p) port=$2; shift 2 ;;
+ -h|--help) usage ;;
+ --) shift; break ;;
+ *) echo "$0: Internal error! unexpected args: $*" ; exit 1 ;;
+ esac
- # build.rb dependencies
- ruby-pygments.rb ruby-safe-yaml ruby-sass
- # python pkgs used for o(n^2) voting blog entry
- python-bcrypt python-passlib
- # gitweb pkgs
- gitweb highlight
+ # build.rb dependencies
+ ruby-pygments.rb ruby-safe-yaml ruby-sass
+ # python pkgs used for o(n^2) voting blog entry
+ python-bcrypt python-passlib
+ # gitweb pkgs
+ gitweb highlight
# to run python script on my site:
<Directory /var/www/$domain/html/on2vote>
# to run python scripts with cgi
# to run python script on my site:
<Directory /var/www/$domain/html/on2vote>
# to run python scripts with cgi