Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.04 KB

README.md

File metadata and controls

67 lines (47 loc) · 1.04 KB

How to build

Prerequirements

ServerSide

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

ClientSide

npm install

echo 'to upgrade,'

npm run update
npm update

Iterative and incremental development

npm run watch

then,

open http://localhost:8080/(index) or http://localhost:8081/(admin)

Build

npm run build

Deploy

npm run deploy