{install myslq-server}
$ go get github.com/bachopp/autograder
mysql> create database agdatabase;
mysql> create user 'autograder'@'localhost' identified by 'autograder';
mysql> grant all privileges on agdatabase.* to autograder@localhost;
mysql> set password for autograder@localhost = password("autograder");
$ go test -run TestD
start server:
$ $GOPATH/bin/autograder
open browser:
localhost:8000
developing frontend for autograder system @ UiS
- mysql-server
- go get
- npm
- node.js
node.js is installed with npm
mymysql is diver for mysql-server, you need to have mysql-server instance running for autograder to work.
$ go get github.com/ziutek/mymysql/thrsafe
$ go get github.com/ziutek/mymysql/autorc
$ go get github.com/ziutek/mymysql/godrv
You need to install npm and run:
$ npm install
this will install dependencies locally
To compile your JSX, CommonJS run:
$ npm start
Compiled code is located in web/public, while source is in web/src
more info at facebook.github.io