command
module
Version:
v0.0.0-...-f26148c
Opens a new window with list of versions in this module.
Published: Dec 27, 2015
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
GerardAPI
A modern bot for Discord - The Web API.
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?
- Clone repo
- Make new Postgres contrainer, or use shared container that is also used by GerardDiscord.
$ docker run --name POSTGRESCONTAINERNAME -e POSTGRES_PASSWORD=mysecretpassword -d postgres
- Open terminal in project folder
$ docker build -t gerardapi .
$ docker run -it --rm --name containername --link POSTGRESCONTAINERNAME:postgres -p 8080:8080 gerardapi
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.