Panama's public transport Web client / editor
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
test
.bowerrc
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
.yo-rc.json
Gruntfile.js
LICENSE.txt
README.md
bower.json
package.json

README.md

Panatrans web

Webapp client/editor of the panatrans project.

This webapp is pure HTML/Javascript and it requires a server running the panatrans-api to be fully functional.

About

Panatrans is a collaborative project to allow the users of the panamenian public transport to create a dataset with the information of the stops and routes available in the City of Panama (which is currently inexistent).

This project is based in the premise that open software and open data are the key of innovation.

Collaborative user generated content is another key concept of the project, and in that sense, the webap provides universal read and write access to content.

Related Projects that may interest you:

Download

You need to clone the project and then install the components.

  git clone https://github.com/merlos/panatrans-web.git
  cd panatrans-web
  bower install                               # install bower components
  npm install                                 # install grunt package dep.

If bower asks for the angular version, select 1.3.15

Development

To preview the app run:

$ grunt serve

Open your browser at http://localhost:9000/.

Configuration

You can modify the configuration by editing the file app/scripts/config.js. This file contains all the information.

Building distribution

To create the distribution version (minified, cdn, etc...) run:

$ grunt --force

To preview if the distribution version works fine:

$ cd dist
$ python -m SimpleHTTPServer

Open a browser at http://localhost:8000/.

Testing

Running grunt test will run the unit tests with karma.

NOTE: tests have not been implemented.

-- This project was generated with yo angular generator version 0.11.1.

License

panatrans-web. Copyright (C) 2015 Juan M. Merlos (@merlos)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.