Skip to content

πŸ“Š Database module for Enforce Team - CanSat 2018 πŸ“Š

License

Notifications You must be signed in to change notification settings

ITISEnricoFermi/enforce-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Enforce mysql

Database module for Enforce Team - CanSat 2018

Getting Started

Prerequisites

You need to have a mysql server running on your local machine and need to create the tables present in enforce.db.sql. For the database configuration see config.json

Installing

Clone this repo

$ git clone https://github.com/ITISEnricoFermi/enforce-mysql.git

Move into the project folder

$ cd enforce-mysql

Install the dependencies

$ npm install

And then try a test run

$ npm run dev

> enforce-mysql@0.7.0 dev /Path/to/project/enforce-mysql
>  export DEBUG=* || SET DEBUG=* && node test/test.js

  enforce-database Booting Enforce Database System +0ms
  enforce-database Connecting to database... +123ms
  enforce-database:test Creating database... +0ms
  enforce-database Starting mission: enf<timestamp> +4ms
  enforce-database Connected! +7ms
  enforce-database Inserting into missions... +5ms
  enforce-database Done. +36ms
  enforce-database Inserting into temperature... +5s
  enforce-database Done. +70ms
  enforce-database Inserting into pressure... +3s
  enforce-database Done. +30ms
  enforce-database Inserting into position... +2s
  enforce-database Inserting into temperature... +12ms
  enforce-database Done. +33ms
  enforce-database Done. +38ms

Authors

  • Ernesto Montada - Initial work - n4y0n

License

This project is licensed under the MIT License - see the LICENSE file for details

About

πŸ“Š Database module for Enforce Team - CanSat 2018 πŸ“Š

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published