22 lines
No EOL
478 B
Markdown
22 lines
No EOL
478 B
Markdown
```shell
|
|
# build and run
|
|
go build && ./dofdev
|
|
|
|
#deploy
|
|
rsync -avz --progress ~/go/src/dofdev/ root@dofdev:/root/dofdev/
|
|
```
|
|
server starting at: http://localhost:3000
|
|
|
|
|
|
i actually want to do this in a different way
|
|
|
|
instead of a server that can be attacked
|
|
or taken down/compromised by me
|
|
|
|
we instead have a distributed application that receives updates
|
|
|
|
that way he has his copy and i have mine
|
|
|
|
and they are on local secure devices
|
|
|
|
it can just be console application for now |