Place the content of the "public" directory in your documentroot on nginx or apache with enabled

add this line in visudo:

www-data ALL=NOPASSWD: /usr/local/bin/route_add, /usr/local/bin/route_remove, /usr/local/bin/route_check

( change www-data with the actual user for your web server )
