Skip to content
the heart of hexe.net
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_resources
cmds
fml
frontend
shelf
util
web
.babelrc
.gitignore
LICENSE.txt
README.md
bookmarklet.js
gulpfile.babel.js
package-lock.json
package.json
webpack.config.js

README.md

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

echo 'embedding markdown'
go get -u "github.com/russross/blackfriday"

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
You can’t perform that action at this time.