Skip to content
forked from schoenfr/webapp

Using greennavs polymer components for a navigation webapp

License

Notifications You must be signed in to change notification settings

FinkeNils/webapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreenNav Web-App

This project aims to provide a reference implementation for the GreenNavigation front end. It makes use of the different polymer elements created for GreenNav.

Getting Started

Prerequisites

sudo add-apt-repository ppa:chris-lea/node.js  
sudo apt-get update  
sudo apt-get install nodejs
  • Get bower
sudo npm install -g bower
(Windows: just npm install -g bower)

Setup

  • Clone the repository
  • Install the dependencies
bower install

❗ To see an example route with a button click, fetch the routing service from here and run the local server (see corresponding README for instructions).

Run

You can use python -m SimpleHTTPServer but we prefer to use polyserve as it restarts on code changes

sudo npm install polyserve -g 

Now you can simply run

polyserve -p 8000

And the front end is now accessible at http://localhost:8000/.

Development

Git Workflow

  • Please fork the repository
  • Clone the webapp repository from your github account
git clone https://github.com/$(GITHUB_USER)/webapp.git
  • Create a new feature branch
cd webapp
git checkout -b your-feature
  • Make local changes and implement your feature
  • Push your branch to GitHub
  • Open a pull request

Create own elements

In order to create a new reusable custom element to use here, check out the official guide at the polymer website and request a new repository. For examples, check out the different existing elements used in this project.

About

Using greennavs polymer components for a navigation webapp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 97.7%
  • CSS 2.3%