Skip to content

oblank/rozklad_cdtu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RozkladCDTU

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

Build Status

How to run backend part of project:

  1. Install Git and Mercurial.

  2. Install Google Go (ver. 1.3+), I use GoVM.

  3. Create gocode directory in HOME.

  4. 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
  5. Install Revel Web Framework

    go get github.com/revel/revel
  6. Install Revel cmd tool:

    go get github.com/revel/cmd/revel
    cd gocode
    go build -o bin/revel github.com/revel/cmd/revel
  7. Go to HOME/gocode/src/ and clone this project with using Git

    git clone https://github.com/rtm7777/rozklad_cdtu.git
  8. 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 ./...

How to run frontend part of project:

  1. Install Node and npm.

  2. Go to project folder and install dependencies.

    npm install
  3. Build all frontend.

    npm run build_all
  4. If need recompile only js, run:

    npm run build
    npm run build_min
  5. Run js watcher by next command:

    npm run watch

About

Webapp for showing and editing the students schedule for my university written on Revel framework and React(Flux)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 39.1%
  • JavaScript 33.3%
  • HTML 21.5%
  • CSS 6.1%