Skip to content

Commit

Permalink
Merge pull request #25 from chk1/beta
Browse files Browse the repository at this point in the history
Campusplan 2.0 AngularJS rewrite
  • Loading branch information
chk1 committed Jun 2, 2015
2 parents 132d248 + 6e285e4 commit d47afa8
Show file tree
Hide file tree
Showing 263 changed files with 15,490 additions and 13,813 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cache/
api/cache/*
piwik/
routes/
tiles/
bower_components/
node_modules/
coverage/
piwik.php
keys.php
10 changes: 8 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
AddDefaultCharset UTF-8
RewriteEngine on
RewriteRule ^tiles/([0-9]+)/([0-9]+)/([0-9]+).png$ tiles.php?z=$1&x=$2&y=$3 [L]

RewriteRule ^piwik - [L,NC]
# Don't rewrite files or directories
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
# Rewrite everything else to index.html to allow html5 state links
RewriteRule ^ index.html [L]
29 changes: 0 additions & 29 deletions INSTALL.md

This file was deleted.

Binary file removed Icons/Fachbereiche.pdf
Binary file not shown.
Binary file removed Icons/Favoriten.pdf
Binary file not shown.
Binary file removed Icons/Hörsäle.pdf
Binary file not shown.
Binary file removed Icons/Info.pdf
Binary file not shown.
Binary file removed Icons/Karte.pdf
Binary file not shown.
Binary file removed Icons/Loader-big.psd
Binary file not shown.
Binary file removed Icons/Loader-grey.psd
Binary file not shown.
Binary file removed Icons/Loader.psd
Binary file not shown.
Binary file removed Icons/Mensen.pdf
Binary file not shown.
Binary file removed Icons/ULB-Katalog.pdf
Binary file not shown.
Binary file removed Icons/Uni A-Z.pdf
Binary file not shown.
Binary file removed Icons/WWU Logo weiss.pdf
Binary file not shown.
Binary file removed Icons/WWU Logo.pdf
Binary file not shown.
Binary file removed Icons/Wohnheime.pdf
Binary file not shown.
Binary file removed Icons/start-icon.pdf
Binary file not shown.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# WWU Campus Plan App

This is a web app version of a the **Campus Plan App** developed by the [University of Münster](http://www.uni-muenster.de/). The goal of this web app is to subsequently replace the existing native versions for [iOS](http://itunes.apple.com/de/app/wwu-campus-plan/id474030032?mt=8) and [Android](https://play.google.com/store/apps/details?id=ifgi.android) in order to reduce the maintenance effort to one code base.
This is a web app version of a the **Campus Plan App** developed by the [University of Münster](http://www.uni-muenster.de/). The goal of this web app is to subsequently replace the existing native versions for [iOS](http://itunes.apple.com/de/app/wwu-campus-plan/id474030032?mt=8) and [Android](https://play.google.com/store/apps/details?id=ifgi.android) in order to reduce the maintenance effort to one code base.

![Screenshot](screenshot.png)

## Installation

### Requirements

* Apache Webserver
* mod_rewrite enabled
* NGINX works too, see [configuration example](https://gist.github.com/chk1/d8149378fcea2cf72778)
* PHP 5.x
* bower

### Installation

1. Clone the repository into your webserver htdocs
2. Configure your webserver to redirect requests to `index.html`
2. Run ```bower update``` to install the JS libraries and CSS files
3. Create the directory ```api/cache``` and give your webserver read/write access: ```chmod www-data:www-data api/cache/```

## Attributions

* Map icons `img/awesomemarkers-*.png` derived from the [Awesome Markers](https://github.com/lvoogdt/Leaflet.awesome-markers) project (MIT license)
* Navigation & menu icons from [Iconmonstr](http://iconmonstr.com/) (Creative Commons license) and [The Noun Project](http://thenounproject.com/) (Public Domain)
* [Weather icons](http://erikflowers.github.io/weather-icons/) (`fonts/weathericons*`) by Lukas Bischoff & Erik Flowers (SIL Open Font License 1.1 & MIT License)
* [Signika font](http://www.google.com/fonts/specimen/Signika) by Anna Giedryś (SIL Open Font License 1.1)
3 changes: 3 additions & 0 deletions api/fachbereiche.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
include("functions.php");
echo getFachbereiche();
Loading

0 comments on commit d47afa8

Please sign in to comment.