WebApp for showing and editing the students schedule, written with Revel[1] web framework.
When my Raspberry Pi is powered on, this project is also available here: rozklad.rasp.tk
-
Install Google Go (ver. 1.3+), I use GoVM.
-
Create
gocode
directory in HOME. -
Add env. variables to
.bashrc
export GOPATH=~/gocode export PATH="$PATH:$GOPATH/bin" export GOVM_ROOT=~/.govm export GOROOT=$GOVM_ROOT/versions/current export PATH=$GOROOT/bin:$PATH
-
Install Revel Web Framework
go get github.com/revel/revel
-
Install Revel cmd tool:
go get github.com/revel/cmd/revel cd gocode go build -o bin/revel github.com/revel/cmd/revel
-
Go to
HOME/gocode/src/
and clone this project with using Gitgit clone https://github.com/rtm7777/rozklad_cdtu.git
-
Run project
revel run rozklad_cdtu
P.S. After running you may have errors related with missed packages. just install it with using go get ./...