go-schedule

module
v0.0.0-...-20a2c84 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2013 License: MIT

README

Deployment

  • go get github.com/kvu787/go-schedule/scraper
    • NOTE: You will receive several "...undefined: config.*" errors. This is normal.
    • In scraper/config/, copy config.go.example to config.go and edit the settings as necessary.
  • In scraper/, run go install.
  • go get github.com/kvu787/go-schedule/web
  • Create the databases specified in scraper/config/database.go.
  • In scraper/utility/sql
    • Run schema.sql against the two app databases and test database.
    • Run switch.sql against the switch database.
  • Run scraper at least once to fill up an app database.
  • Run web.
  • Pray.
  • Visit localhost:8080.

Directories

Path Synopsis
database
Package database provides basic (read: fragile) object relational mapping between structs and database tables.
Package database provides basic (read: fragile) object relational mapping between structs and database tables.
extract
Package extract provides methods to extract models defined in package database from a webpage.
Package extract provides methods to extract models defined in package database from a webpage.
fetch
Package fetch provides functions to fetch web pages.
Package fetch provides functions to fetch web pages.

Jump to

Keyboard shortcuts

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