diff --git a/README.md b/README.md index 1d14513..53c9168 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,9 @@ This is a self-contained wiki webserver that makes sharing easy and _fast_. You # Install +First [install Go](https://golang.org/doc/install). Then continue. -First [install Go](https://golang.org/doc/install). +## To access locally... Then, if you want to host on your local network just do: @@ -37,8 +38,15 @@ make and then goto the address `http://LOCALIPADDRESS:8001/` -## Production server -I recommend using `NGINX` as middleware, as it will do caching of the static files for you. There is an example `NGINX` block in `install/`. If you want to use SSL instead, follow the instructions in `letsencrypt/README.md`. To automatically install, on Raspberry Pi / Ubuntu / Debian system use: +## To access from anywhere... + +For this you need to forward port 80 and [get a DNS for your external address](https://www.duckdns.org/). I recommend using `NGINX` as middleware, as it will do caching of the static files for you. + +```bash +sudo apt-get install nginx +``` + +There is an example `NGINX` block in `install/`. If you want to use SSL instead, follow the instructions in `letsencrypt/README.md`. To automatically install, on Raspberry Pi / Ubuntu / Debian system use: ``` git clone https://github.com/schollz/awwkoala.git