Git Product home page Git Product logo

bike4share's Introduction

Bike4Share

This repository contains the project of the course Software Enginnering for GeoInformatics teached by Professor Elisabetta Di Nitto in the academic year 2018/2019.

The project, including documentation, is in English.

Getting Started

Prerequisites

For running the bike4share is needed to have the following packages, tested with that raccomanded version:

  • Pandas 0.24.2
  • Geopandas 0.4.1
  • Psycopg2 2.8.1
  • Sqlalchemy 1.3.2
  • Geoalchemy2 0.6.1
  • GeoJSON 2.4.1
  • Bokeh 1.1.0
  • Flask 1.0.2
  • Werkzeug 0.14.1
  • Psycopg2 2.8.1

To start the execution of the code is needed to have installed a server with PostgreSQL, and create a database called bike4share.

Installing

Select a folder and download the code and the documentation

git clone https://github.com/LorenzoStucchi/bike4share.git

Move into the folder code, into the terminal with the following code

cd bike4share/code

Check into code the file dbConfig.txt and set the database name, the user and the password as in the example:

dbname=bike4share user=postgres password=postgres

Check also for the mailConfig.txt and set your e-mail address and password for the users recovery password procedure, the procedure works for a gmail account:

[email protected] password=bike4share

Run the file createSchema.py for create the database needed with the web application:

python createSchema.py

The code create into the code folder a file secret_key.txt this key are needed for the registration of the technician.

Running

For starting the webpage application you need to run:

python main.py

The page for the technician registration is not visible and directly accessibile, but you need to go to the page /tec_reg. The technician can access to a page with a summary and different statics about the usage of the bike stalls.

Documentation

In the folder RelaesedDocs there is the documentation describing the code divide in 3 main documents:

  • Design Document (DD.pdf)
  • Requirement Analysis and Specification Document (RASD.pdf)
  • Test Plan Document (TPD.pdf)

Authors

Name and Surname Matricola Email
Sara Maffioli 905432 [email protected]
Lorenzo Giuliano Papale 905795 [email protected]
Lorenzo Stucchi 899072 [email protected]
Federica Vaghi 905531 [email protected]

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details

Plus

A plus version of the premium map can be found at on GitHub gist.

bike4share's People

Contributors

federicavaghi avatar lorenzogpapale avatar sara495 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.