ImageDrop
A little one-click image sharing web app with user management. Written in Golang.
Build
glide is used to manage package. Please install it first
cd $GOPATH
go get github.com/naokij/imgdrop
go get glide
cd src/github.com/naokij/imgdrop
glide install
go build
cp src/github.com/naokij/imgdrop/data.db.sample src/github.com/naokij/imgdrop/data.db
cp src/github.com/naokij/imgdrop/conf/app.conf.sample src/github.com/naokij/imgdrop/conf/app.conf
Run
cd src/github.com/naokij/imgdrop
mkdir log
./imgdrop
Init.d script
ln -s $GOPATH/src/github.com/naokij/imgdrop /opt/imgdrop
cp $GOPATH/src/github.com/naokij/deploy/init.d/imgdrop /etc/init.d
chkconfig imgdrop on
/etc/init.d/imgdrop start