h2o-old

command module
v0.0.0-...-a0045c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 10 Imported by: 0

README

H2O

A complete open source e-commerce solution for the Go language(STILL IN DEVELOPMENT).

Install go

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

Editors

Atom
  • atom-beautify
  • go-plus
  • react

Development

cd $GOPATH/src/github.com/kapmahc/h2o
./run.sh # start backend server
cd dashboard && npm start # start frontend server

Deployment

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL