gerardapi

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

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

Go to latest
Published: Dec 27, 2015 License: MIT Imports: 10 Imported by: 0

README

GerardAPI

A modern bot for Discord - The Web API.

Build Status Go Report Issues Coverage Status


GoGerard

Project details can be found on the main repo.


GerardAPI

The API server is written in Golang and is currently depended on the following libraries:

  • Gorm - 'The fantastic ORM library for Golang, aims to be developer friendly.'
  • Gin - 'Gin is a HTTP web framework written in Go (Golang). '

How to use?

  1. Clone repo
  2. Make new Postgres contrainer, or use shared container that is also used by GerardDiscord.
  3. $ docker run --name POSTGRESCONTAINERNAME -e POSTGRES_PASSWORD=mysecretpassword -d postgres
  4. Open terminal in project folder
  5. $ docker build -t gerardapi .
  6. $ docker run -it --rm --name containername --link POSTGRESCONTAINERNAME:postgres -p 8080:8080 gerardapi

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