Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jhedev/campus

Simple web app to subscribe to the calendar offered by the Campus Office (https://www.campus.rwth-aachen.de/office/)
https://github.com/jhedev/campus

Last synced: 7 days ago
JSON representation

Simple web app to subscribe to the calendar offered by the Campus Office (https://www.campus.rwth-aachen.de/office/)

Awesome Lists containing this project

README

        

campus
======

[![build status](https://circleci.com/gh/jhedev/campus.png?style=shield)](https://circleci.com/gh/jhedev/campus/tree/master)

Simple web app to subscribe to the calendar offered by the [Campus Office](https://www.campus.rwth-aachen.de/office/) of [RWTH Aachen](http://www.rwth-aachen.de/). (See @Faerbit's [fork](https://github.com/Faerbit/campus) to get this running for the Campus Office of [FH Aachen](https://www.fh-aachen.de/))

### 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
```