Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Villanova Course Indexing CLI. Rewrite of Oberon (https://github.com/Space-Cadets/Oberon) in Golang to work with RethinkDB. Built over a long weekend.

License

NotificationsYou must be signed in to change notification settings

ahermida/Goberon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Villanova Course Indexing CLI. Rewrite of Oberon (https://github.com/Space-Cadets/Oberon) in Golang to work with RethinkDB. Built over a long weekend.

Overview

The Villanova course registry is a mess and they've taken away Schedulr. Things likefinding interesting electives to take shouldn't be as difficult as they are.This is the first step to organizing course data and making registration less of ahassle.

Installation

Make sure you have a working Go environment. Go version 1.8+ is supported.Seethe install instructions for Go.

To install cli, simply run:

$ go get github.com/ahermida/Goberon

Make sure yourPATH includes the$GOPATH/bin directory so your commands canbe easily used:

export PATH=$PATH:$GOPATH/bin

Supported platforms

This CLI is currently only tested against MacOS and the Linux Subsystem for Windows.

RethinkDB Setup

This project requires a RethinkDB instance to be running. If you don't have itinstalled yet, you can see theRethinkDB installation guidefor your system. If you have Homebrew on a mac, install withbrew update && brew install rethinkdb.

Once you have it installed, you must set the "RdbAddress" value withinthe "Network" variable inGoberon/config/config.go to the port that rethinkdb isopen on.

Request Setup

Go intoGoberon/config/secret.go, edit out the comment and place the data for thePOST request to the registrar (set the cookie, body, headers, and URL). If youdon't know how to get this data, fear not.

You can alternatively navigate to the registrar HTML page with all of the courses, savethe HTML page with all of the courses into the Goberon directory with the namecourses.html.

Getting Started

Once you've rungo get github.com/ahermida/Goberon and you're in the Goberondirectory, you can rungo install.

This will setup the command:goberon

Fetching Data

Running$ goberon will load a help menu.

Fetching Data

Running$ goberon fetch will download the course data. It usually takes ~4mins.

Indexing Data

Using$ goberon index will build course data, and write it into appropriateRethinkDB tables.

Data

Using$ goberon drop will drop all course data tables

Acknowledgments

Can't build this without a shoutout to the original Oberon authors:

About

Villanova Course Indexing CLI. Rewrite of Oberon (https://github.com/Space-Cadets/Oberon) in Golang to work with RethinkDB. Built over a long weekend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp