Skip to content

nicolasramy/hack4good

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commute 4 Good [NAME PROPOSAL]

Hack4good session organized by #Geekli.st in partnership with #Gandi at #Deezer in Paris from the 4th to the 7th of October 2013

0) tl;dr

While commuting (using public transports like suburban train or metro), one might want to chat easily with people around. The main idea of this mockup application is about enabling people to do so, the easiest way possible.

1) Application Deployment (Android device)

  • Download [Apache Cordava Package] (http://cordova.apache.org/#download)

  • Download [Android SDK] (http://developer.android.com/sdk/index.html)

  • Activate the developer mode of your device

  • Create symlinks to Apache Cordova and Android SDK binaries

  • Change directory

    cd cordova

  • Build application

    cordova platform remove android

    cordova platform add android

  • Build application

    cordova build

  • Run application on Android device (after having connected it to your computer)

    cordova run android

  • OR Create an Android Virtual Device

    android create avd --name 'img' --target android-18

  • AND run application in Android device emulator

    cordova emulate android

  • Update basic plain HTML, JavaScript and CSS files which have been added to /cordova/www

2) Backoffice

System requirements:

  • postgresql 9.1+
  • python 2.7
  • pip
  • libpq-dev

Python requirements:

  • virtualenv
  • flask-restful
  • psycopg2
  • sqlalchemy
  • sqlacodegen (optional)
  • Faker
  • numpy

pip install PACKAGE_NAME

sqlacodegen

example: sqlacodegen postgresql:///DATABASE_NAME

About

Want to socialize a bit while using public transports?

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •