{"id":16228922,"url":"https://github.com/mpgon/ecodriving","last_synced_at":"2025-04-08T04:51:33.958Z","repository":{"id":28317366,"uuid":"31830255","full_name":"mpgon/EcoDriving","owner":"mpgon","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-02T14:15:40.000Z","size":5656,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-14T03:39:25.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpgon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-07T22:41:15.000Z","updated_at":"2015-10-27T19:09:01.000Z","dependencies_parsed_at":"2022-08-17T17:15:37.345Z","dependency_job_id":null,"html_url":"https://github.com/mpgon/EcoDriving","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpgon%2FEcoDriving","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpgon%2FEcoDriving/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpgon%2FEcoDriving/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpgon%2FEcoDriving/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpgon","download_url":"https://codeload.github.com/mpgon/EcoDriving/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247779762,"owners_count":20994572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T12:56:52.384Z","updated_at":"2025-04-08T04:51:33.936Z","avatar_url":"https://github.com/mpgon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EcoDriving\n\n==========\nInstruções\n==========\n\nPrerequesitos:\nPHP, MySql e MySQL Workbench instalados. Não estou a usar Apache, estou a usar o servidor integrado da versão 5 do php. É assumido são administradores, para usarem o utilizador \"root\" do mysql. Se têm um específico, alterem no início dos scripts. Têm que ter o servidor MySql a correr localmente(óbvio, I know). Eu estou a usar o MySql Workbench para explorar a base de dados. Vejam se têm um Schema criado de nome \"test\". Criem-no se não tiverem.\nProcedimentos testados num sistema UNIX.\n\n1. Abrir o MySQL Workbench.\n2. Ir a File-\u003eOpen SQL Script e abrir o \"base.sql\"\n3. Executar o script completo(ícone do raio)\n4. Navegar até ao diretório do projeto num terminal e correr o servidor php com o comando:  php -S localhost:8000\n5. Abrir o browser em http://localhost:8000/ e confirmar se a query de exemplo funciona\n6. Abrir o browser (uma vez)em http://localhost:8000/loadDatagrams.php para carregar as informações do onboardpc do comboio para a BD, para a tabela \"Datagrams\"\n\n\nPara a componente Node:\n\n1. Open command line on Node folder\n2. npm install\n3. node ./script.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpgon%2Fecodriving","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpgon%2Fecodriving","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpgon%2Fecodriving/lists"}