Sign inSign up

jhedev/campus

By jhedev

•Updated about 11 years ago

Image
0

930

jhedev/campus repository overview

⁠campus

build status

Simple web app to subscribe to the calendar offered by the Campus Office⁠ of RWTH Aachen⁠. (See @Faerbit's fork⁠ to get this running for the Campus Office of FH Aachen⁠)

⁠Build and run locally
cabal sandbox init # Create a sandbox
cabal install # Installs all dependencies and builds campus, may take a while
PORT=3000 CAMPUS_USER=ab123456 CAMPUS_PASS=password cabal run # to run campus
⁠Run the Docker container
docker run -e CAMPUS_USER=ab123456 -e CAMPUS_PASS=password jhedev/campus
⁠Deploy to Heroku

Run the following commands:

heroku create --stack=cedar --buildpack https://github.com/begriffs/heroku-buildpack-ghc.git
git push heroku master # This may take a while
heroku config:set CAMPUS_USER=ab123456 # Your campus office user id (matriculation number)
heroku config:set CAMPUS_PASS=password # Your password
heroku open # open the app

Tag summary

Content type

Image

Digest

sha256:61c7d4b33…

Size

220.1 MB

Last updated

about 11 years ago

docker pull jhedev/campus