soccersim

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

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

Go to latest
Published: Apr 6, 2018 License: MIT Imports: 6 Imported by: 0

README

CircleCI Go Report Card

Soccer Sim

Run
  1. Add a .env file with APP_DB_USER, APP_DB_PASS, APP_DB_NAME, and APP_DB_ADDR for a postgres database
  2. Add Goose binary from https://github.com/pressly/goose
  3. Run goose postgres $APP_DB_ADDR up in ROOT/data directory
  4. Start server with go run main.go
The main functions of this project are:
  1. Create and store soccer teams and their seasons
  2. Create new seasons and generate a randomized 38 match schedule for each team
  3. Allow for simulating the results of a season (currently based on a random selected goal total for the home and away team)
  4. Save the simulated matches and team record/goals scored
  5. Expose this functionality in a REST API for SoccerSimUI and testing
  6. Keep full test coverage and with 12 factor design

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
services

Jump to

Keyboard shortcuts

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