echo 'for logging'
go get -u "github.com/Sirupsen/logrus"
go get -u "github.com/fatih/color"
echo 'networking'
go get -u "golang.org/x/net/context"
go get -u "github.com/julienschmidt/httprouter"
echo 'data serialization'
go get -u "gopkg.in/yaml.v2"
echo 'imaging'
go get -u "github.com/rwcarlsen/goexif"
go get -u "github.com/disintegration/imaging"
go get -u "github.com/nfnt/resize"
go get -u "github.com/oliamb/cutter"
go get -u "github.com/nfnt/resize"
echo 'video'
sudo apt get install ffmpeg
# mac OS:
# brew install ffmpeg
# Fedora or CentOS:
# sudo dnf install ffmpeg ffmpeg-devel
# sudo yum install ffmpeg ffmpeg-devel
npm install
echo 'to upgrade,'
npm run update
npm update
npm run watch
then,
open http://localhost:8080/(index) or http://localhost:8081/(admin)
npm run build
npm run deploy