magnolia

module
v0.0.0-...-28b3ec9 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: MIT

README

magnolia

A full-stack web framework for go-lang.

Install go

For ubuntu
add-apt-repository ppa:ubuntu-lxc/lxd-stable
sudo apt-get update
sudo apt-get install golang
For archlinux
sudo pacman -S go go-tools
Add to your .bashrc or .zshrc
GOPATH=$HOME/go
PATH=$GOPATH/bin:$PATH
export GOPATH PATH
Some other packages
go get -u github.com/nsf/gocode
go get -u github.com/derekparker/delve/cmd/dlv
go get -u github.com/alecthomas/gometalinter
go get -u github.com/golang/lint/golint

go get -u github.com/kardianos/govendor

Database creation

postgresql
psql -U postgres
CREATE DATABASE db-name WITH ENCODING = 'UTF8';
CREATE USER user-name WITH PASSWORD 'change-me';
GRANT ALL PRIVILEGES ON DATABASE db-name TO user-name;

Build

go get github.com/itpkg/magnolia
cd $GOPATH/src/github.com/itpkg/magnolia
govendor sync
make
ls -lh dist
Development
cd $GOPATH/src/github.com/itpkg/magnolia
cd demo
go run main.go s

Documents

Directories

Path Synopsis
engines
vpn
web

Jump to

Keyboard shortcuts

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