Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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/)
- Host: GitHub
- URL: https://github.com/jhedev/campus
- Owner: jhedev
- License: mit
- Created: 2014-11-27T08:18:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-11T16:30:10.000Z (over 9 years ago)
- Last Synced: 2024-11-05T09:51:24.368Z (about 2 months ago)
- Language: Haskell
- Size: 176 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```