Server API of axshare
for hosting and sharing Axure RP prototypes
Web Project: https://github.com/XanderCheung/axshare
# config
cp config/.env.example config/.env
# build
go build -ldflags '-w -s' cmd/axshare_go.go
# build linux app
# env GOOS=linux go build -ldflags '-w -s' cmd/axshare_go.go
# run
./axshare_go
wget
- Download files from QiNiu
unar
- Extract the contents of archive files
# kill
pgrep -f ./axshare_go | xargs kill -9;true
# nohup
nohup ./axshare_go >> log/production.log &
# deploy using capistrano
bundle exec cap production deploy