gong

module
v0.0.0-...-a299373 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2015 License: BSD-3-Clause

README

Project template

Golang, bootstrap, startbootstrap-sb-admin-2 and MySQL

SB Admin 2 is an open source, admin dashboard template for Bootstrap created by Start Bootstrap. Copyright Iron Summit Media Strategies, LLC., Apache Licensed.

Preparing the environment

Prerequisites:

  • Git
  • rsync
  • GNU Make
  • Go 1.0.3 or newer

First, you should make a copy of this directory, and prepare the new project:

cp -r simple gong
cd gong
./bootstrap.sh

Your project is now called gong and is ready to use.

Make sure the Go compiler is installed and $GOPATH is set.

Install dependencies, and compile:

make deps
make clean
make all

Generate a self-signed SSL certificate (optional):

cd ssl
make

Set up MySQL (optional):

sudo mysql < assets/files/database.sql

Edit the config file and run the server (check MySQL settings):

vi gong.conf
./gong

Install, uninstall. Edit Makefile and set PREFIX to the target directory:

sudo make install
sudo make uninstall

Allow non-root process to listen on low ports:

/sbin/setcap 'cap_net_bind_service=+ep' /opt/gong/server

License:

MIT

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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