Skip to content

Files

Latest commit

Aug 14, 2018
2b4720d · Aug 14, 2018

History

History
59 lines (40 loc) · 889 Bytes

README.md

File metadata and controls

59 lines (40 loc) · 889 Bytes

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"

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