2019-02-24 08:23:09 +00:00
|
|
|
# nas
|
|
|
|
small go nas platform for my raspberry pi
|
2019-02-24 18:10:08 +00:00
|
|
|
|
2019-02-24 22:51:40 +00:00
|
|
|
## usage
|
|
|
|
|
|
|
|
```
|
|
|
|
cp assets/config/config.example.json assets/config/config.json
|
|
|
|
# edit config file with your hot/cold storage locations
|
|
|
|
nano assets/config/config.json
|
|
|
|
# run
|
|
|
|
go run webserver.go
|
|
|
|
# or build and run
|
|
|
|
go build; ./nas
|
|
|
|
```
|
|
|
|
|
|
|
|
you can also optionally use the `build-pi.sh` to build it for a raspberry pi (tested with raspberry pi 3 model b+)
|
|
|
|
|
|
|
|
then navigate to `localhost:3000`
|
|
|
|
|
2019-03-03 01:41:13 +00:00
|
|
|
## api
|
|
|
|
|
|
|
|
initially the heavy lifting was done by the server, but the need for a better frontend was clear.
|
|
|
|
|
2019-04-02 06:43:57 +01:00
|
|
|
full documentation coming soon once actual functionality has been nailed down.
|
|
|
|
|
2019-02-24 18:10:08 +00:00
|
|
|
## credits
|
|
|
|
|
|
|
|
svg icons via https://iconsvg.xyz
|
|
|
|
|
2019-04-02 06:43:57 +01:00
|
|
|
raspberry pi svg via https://www.vectorlogo.zone/logos/raspberrypi/index.html
|