Skip to content

totubamowo/greencar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greencar

GreenCar is a ride-sharing web application to demo a heuristic algorithm for solving a novel Travelling Salesman Problem

Stack

  • Spring MVC (3.2.4.RELEASE)
  • Hibernate (4.2.5.Final)
  • PostgreSQL
  • Maven
  • Jetty (6.1.25)
  • Twitter Bootstrap (3.0.0)
  • jQuery (1.10.2)
  • Backbone.js (1.0.0)
  • Underscore.js (1.5.2)

Setting up locally

  • Clone the project
git clone https://bitbucket.org/teerexinc/greencar.git
  • Download and install PostgreSQL

  • Download a client to connect to your local PostgreSQL server.

  • Create a database called "greencar"

  • Add the dayaUpdate the dbURL bean in db-psql.xml using the credential of the database created (see context.xml to make some changes; tables created automatically).

value="postgres://[USERNAME]:[PASSWORD]@[HOST]:[PORT]/[DATABASE_NAME]"
  • Go to project directory, run
mvn -D jetty.port=9999 jetty:run

Deploying to Heroku

  • Create a Heroku account and download Heroku toolbelt

  • Create an instance on Heroku

heroku create
  • setup a free instance of PostgreSQL database server on heroku via the web portal, Check if database environment variable is created
heroku config
  • Push the code on Heroku
git push heroku master
  • Open the app
heroku open

The code base of this project is based on the following boiler plates.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published