mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Better instructions
Former-commit-id: b949a28f94fd9911c36a611f230331a92af10329 [formerly 26dc4c91be42bacc9d7dc383c09d01b6ef04d90d] [formerly f6434f2bd85d5ceeccb71c17e3ba88ef58d95506 [formerly b623938da9992b44a27b17bbd13aed50428028ba [formerly22e52cae2b
]]] Former-commit-id: abdb453e6d25ef8d950b1cc4cac7118871a738f3 [formerly 5371b88db4ced50901e8311e36200f7a6db80dba] Former-commit-id: d68cc9d95f03a195c80f1ed2a03a425dfe2496ad Former-commit-id:6858c42507
This commit is contained in:
parent
b9de5dffa0
commit
39b93ff6cd
14
README.md
14
README.md
@ -23,8 +23,9 @@ This is a self-contained wiki webserver that makes sharing easy and _fast_. You
|
|||||||
|
|
||||||
# Install
|
# 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:
|
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/`
|
and then goto the address `http://LOCALIPADDRESS:8001/`
|
||||||
|
|
||||||
## Production server
|
## To access from anywhere...
|
||||||
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:
|
|
||||||
|
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
|
git clone https://github.com/schollz/awwkoala.git
|
||||||
|
Loading…
Reference in New Issue
Block a user