{"id":13548952,"url":"https://github.com/DECODEproject/bcnnow","last_synced_at":"2025-04-02T22:31:12.383Z","repository":{"id":29857901,"uuid":"122976208","full_name":"DECODEproject/bcnnow","owner":"DECODEproject","description":"Light, personalized, interactive dashboards for urban data exploration. ","archived":false,"fork":false,"pushed_at":"2022-09-23T22:23:40.000Z","size":4131,"stargazers_count":22,"open_issues_count":63,"forks_count":4,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-03T18:33:58.675Z","etag":null,"topics":["data-exploration","data-visualization","urban-dashboards"],"latest_commit_sha":null,"homepage":"https://github.com/DECODEproject/bcnnow","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DECODEproject.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"docs/.github/CODEOWNERS","security":null,"support":null}},"created_at":"2018-02-26T13:47:52.000Z","updated_at":"2024-06-13T04:01:12.000Z","dependencies_parsed_at":"2023-01-14T16:00:51.913Z","dependency_job_id":null,"html_url":"https://github.com/DECODEproject/bcnnow","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/DECODEproject%2Fbcnnow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DECODEproject%2Fbcnnow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DECODEproject%2Fbcnnow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DECODEproject%2Fbcnnow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DECODEproject","download_url":"https://codeload.github.com/DECODEproject/bcnnow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905097,"owners_count":20852809,"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":["data-exploration","data-visualization","urban-dashboards"],"created_at":"2024-08-01T12:01:16.433Z","updated_at":"2025-04-02T22:31:09.461Z","avatar_url":"https://github.com/DECODEproject.png","language":"CSS","readme":"## BarcelonaNow: Interactive Dashboards for Urban Data Exploration\n[![Build Status](https://travis-ci.org/pages-themes/cayman.svg?branch=master)](https://travis-ci.org/pages-themes/cayman)\n[![GitHub version](https://badge.fury.io/gh/boennemann%2Fbadges.svg)](http://badge.fury.io/gh/boennemann%2Fbadges)\n[![Dependency Status](https://david-dm.org/boennemann/badges.svg)](https://david-dm.org/boennemann/badges)\n[![Open Source Love](https://badges.frapsoft.com/os/gpl/gpl.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\n\nThis is an environment which enables citizens to create and explore interactive visualizations of city-related data and arrange them into dashboards. The solution offers customization capabilities to different user-defined exploration scenarios and techniques according to specific needs and goals. The back-end data aggregator and manipulator built upon state-of-the-art technologies provides normalized access to heterogeneous data. On top of it, the front-end interface allows users to create and combine visualizations, get insights out of the data and share them with others, fostering data-driven public awareness. \n\n* [Video](https://www.youtube.com/watch?v=_QTuGo5n8IE)\n* [Demonstration](http://bcnnow.decodeproject.eu)\n* [Documentation](https://decodeproject.github.io/bcnnow/)\n\n## Installation \nReady to install BarcelonaNow's environment? Here's how to get started on Linux.\n\nInstall Python (\u003e=3.5):\n```\n$ sudo apt-get update\n$ sudo apt-get install python3.5\n```\nInstall and run MongoDB:\n```\n$ sudo apt-get update\n$ sudo apt-get install -y mongodb-org\n$ sudo service mongod restart\n```\nInstall and run Apache:\n```\n$ sudo apt-get update\n$ sudo apt-get install apache2\n$ sudo ufw allow 'Apache Full'\n$ sudo systemctl restart apache2\n```\nClone this repository: \n```\n$ git clone https://github.com/DECODEproject/bcnnow.git\n```\nInstall all the required dependencies:\n```\n$ pip install -r bcnnow/requirements.txt\n```\nInstall Mysql libraries\n```\nsudo apt-get install python3-dev libmysqlclient-dev\npip install mysqlclient\n```\nCopy the dashboard app folder into the Apache public folder:\n```\n$ sudo cp -r bcnnow/apps/frontend /var/www/html/\n```\n\n## Usage\nOnce it is installed, let's run BarcelonaNow to see your dashboards online.\n\nOpen the crontab:\n```\n$ crontab -e\n```\nCopy and save the following commands:\n```\n* * */30 * * python3 bcnnow/backend/data/collectors/pull/AsiaEventCollector.py\n*/10 * * * * python3 bcnnow/backend/data/collectors/pull/BicingCollector.py\n* * */30 * * python3 bcnnow/backend/data/collectors/pull/EquipmentCollector.py\n* * */90 * * python3 bcnnow/backend/data/collectors/pull/IrisCollector.py\n* * */30 * * python3 bcnnow/backend/data/collectors/pull/PointsInterestCollector.py\n*/30 * * * * python3 bcnnow/backend/data/collectors/pull/SentiloCollector.py\n*/60 * * * * python3 bcnnow/backend/data/collectors/pull/SmartCitizenCollector.py\n```\nRun BarcelonaNow's API in background (see this [link](http://flask.pocoo.org/docs/0.12/deploying/) for Flask deployment in production):\n```\nnohup python3 bcnnow/apps/backend/api/v0/app.py \u0026\n```\nOpen your browser at the following link:\n```\nhttp://localhost/\n```\n\n## Contributing\nWe welcome contributions. Feel free to file issues and pull requests on the repo and we will address them as we can.\n\nFor questions or feedback about BarcelonaNow, contact us at [david.laniado@eurecat.org](http://) and [mirko.marras@ce.eurecat.org](http://).\n\n## Citations\nIf you use BarcelonaNow in your research, please use the following entries.\n\n```\nMirko Marras, Matteo Manca, Ludovico Boratto, Gianni Fenu, and David Laniado. 2018. \nBarcelonaNow: Empowering Citizens with Interactive Dashboards for Urban Data Exploration. \nIn WWW ’18 Companion: The 2018 Web Conference Companion, April 23–27, 2018, Lyon, France. \nACM, New York, NY, USA.\n```\n\n```\n@inproceedings{marras2018barcelonanow,\n  title={BarcelonaNow: Empowering Citizens with Interactive Dashboards for Urban Data Exploration},\n  author={Marras, Mirko and Manca, Matteo and Boratto, Ludovico and Fenu, Gianni and Laniado, David},\n  booktitle={Proceedings of the 2018 Web Conference Companion},\n  year={2018},\n  organization={International World Wide Web Conference Committee (IW3C2)}\n}\n```\n## Credits and License\nCopyright (C) 2018 by the [EURECAT - Technology Centre of Catalonia](https://www.decodeproject.eu/).\n\nThe European Union Horizon 2020 Programme under grant agreement N.732546 has been supporting this on-going pilot work during the [DECODE (DEcentralised Citizens Owned Data Ecosystem)](https://eurecat.org/en/) project.\n\nThis source code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.\n\nYou should have received a copy of the GNU General Public License along with this source code. If not, go the following link: http://www.gnu.org/licenses/.\n\n","funding_links":[],"categories":["CSS","data-visualization"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDECODEproject%2Fbcnnow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDECODEproject%2Fbcnnow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDECODEproject%2Fbcnnow/lists"}