{"id":20620994,"url":"https://github.com/coderick14/sbhs-pi","last_synced_at":"2026-04-21T01:06:05.057Z","repository":{"id":77733802,"uuid":"94132088","full_name":"coderick14/sbhs-pi","owner":"coderick14","description":"SBHS code for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2017-06-29T21:32:30.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-13T23:17:26.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/coderick14.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-12T19:19:44.000Z","updated_at":"2017-07-07T17:36:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"8dd51dfa-d496-4ba8-ac1f-7c8ba9883bf3","html_url":"https://github.com/coderick14/sbhs-pi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderick14/sbhs-pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderick14%2Fsbhs-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderick14%2Fsbhs-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderick14%2Fsbhs-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderick14%2Fsbhs-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderick14","download_url":"https://codeload.github.com/coderick14/sbhs-pi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderick14%2Fsbhs-pi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-16T12:16:20.679Z","updated_at":"2026-04-21T01:06:05.028Z","avatar_url":"https://github.com/coderick14.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Raspberry Pi Server Code for SBHS\n![logo](https://community.arm.com/cfs-file/__key/communityserver-discussions-components-files/195/4064.raspberry_5F00_logo_5F00_1.png)\n\nThis repository contains the code to be used in the Raspberry Pis for the load sharing SBHS architecture.\n\n### Setup Instructions\n\n+ Install an operating system on the Raspberry Pi (*preferably Raspbian*). Click [here](https://www.raspberrypi.org/documentation/installation/) for further instructions on how to install *Raspbian*.\n+ Install Apache\n```\nsudo apt-get install apache2\n```\nCheck your installation by typing `sudo service apache2 status`\n\n+ Install MySQL.\n```\nsudo apt-get install mysql-server\n```\n+ Download the setup script in your working directory from [here](https://gist.githubusercontent.com/coderick14/26e85f1bf2104fc461e4c60e97bff2cf/raw/977e844f4e854461c83627388000599a9b48d34b/setup_pi.sh). You can type the following command as well to download the script.\n```\nwget https://gist.githubusercontent.com/coderick14/26e85f1bf2104fc461e4c60e97bff2cf/raw/977e844f4e854461c83627388000599a9b48d34b/setup_pi.sh\n```\n\n+ Run the setup script. The Raspberry Pi **must be connected to the internet** for this script to execute. Make sure you have required access to this Git repository to download the source code.\n```\nbash setup_pi.sh\n```\n\n+ You will prompted for five fields during the execution of the script.\n\t+ **database host** : Enter the IP of the master server here\n\t+ **database user** : Enter the username who has remote access to the database. (Type *sbhs_pi* if you have followed this [README](https://github.com/coderick14/sbhs/blob/deep/README.md#instructions-for-setting-up-mysql) for the master server)\n\t+ **database password** : Password for the database user\n\t+ **database name** : The database name (Usually *sbhs*)\n\t+ **database port** : Type **3306** here. Unless you have explicitly specified a different port for MySQL.\n\n##### NOTE :\nRaspberry Pis **DO NOT** have an RTC (Real Time Clock). Thus, synchronizing time and date with that of the master server is an issue. Make sure that you run the script *synctime.sh* from the master server whenever a Pi reboots or a new Pi is connected. [This](https://github.com/coderick14/sbhs/blob/deep/synctime.sh) script wil sync the time of all the Raspberry Pis with that of the master server.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderick14%2Fsbhs-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderick14%2Fsbhs-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderick14%2Fsbhs-pi/lists"}