A complete open source e-commerce solution for the Go language(STILL IN DEVELOPMENT).
on archlinux
sudo pacman -S go
append to your ~/.zshrc
GOPATH=/opt/go
PATH=$GOPATH/bin:$PATH
export GOPATH PATH
install packages
go get -u github.com/kardianos/govendor
go get -u github.com/kapmahc/h2o
cd $GOPATH/src/github.com/kapmahc/h2o
make init
make
ls -l dist
- atom-beautify
- go-plus
- react
cd $GOPATH/src/github.com/kapmahc/h2o
./run.sh # start backend server
cd dashboard && npm start # start frontend server
echo 'REACT_APP_BACKEND=http://www.change-me.com' > dashboard/.env
make
cd build
./fly g c # generate config.toml
./fly g ng # generate nginx.conf
vi config.toml # change server.name, server.ssl ...etc
./fly -h