{"id":20954930,"url":"https://github.com/iparamr/sheridan-gallery-php-mysql","last_synced_at":"2026-04-06T08:31:24.070Z","repository":{"id":250844190,"uuid":"835629496","full_name":"iparamr/sheridan-gallery-php-mysql","owner":"iparamr","description":"PHP MySQL, class project, Sheridan College 2007","archived":false,"fork":false,"pushed_at":"2024-08-01T02:29:59.000Z","size":5783,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T17:43:31.626Z","etag":null,"topics":["css","docker","html","mysql","php","php8","sheridan-college","sql"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/iparamr.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":"2024-07-30T08:12:18.000Z","updated_at":"2024-08-01T02:33:25.000Z","dependencies_parsed_at":"2024-07-30T12:11:03.517Z","dependency_job_id":null,"html_url":"https://github.com/iparamr/sheridan-gallery-php-mysql","commit_stats":null,"previous_names":["iparamr/sheridan-gallery-php-mysql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iparamr/sheridan-gallery-php-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iparamr%2Fsheridan-gallery-php-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iparamr%2Fsheridan-gallery-php-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iparamr%2Fsheridan-gallery-php-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iparamr%2Fsheridan-gallery-php-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iparamr","download_url":"https://codeload.github.com/iparamr/sheridan-gallery-php-mysql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iparamr%2Fsheridan-gallery-php-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","docker","html","mysql","php","php8","sheridan-college","sql"],"created_at":"2024-11-19T01:16:55.583Z","updated_at":"2026-04-06T08:31:24.053Z","avatar_url":"https://github.com/iparamr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Art Gallery\nSheridan College Class Project, 2007 `Application Development` `Semester 1`\n```\n**********************************************************\n**********************************************************\n******      Param Randhawa                          ******\n******      Application Development: Project        ******\n******      December 7, 2007                        ******\n**********************************************************\n**********************************************************\n```\n```\n\tStudent: Param Randhawa\n\tFor: Ian Wood and Andrew Smyk\n\tDate: December 7, 2007\n\t-----------------------------------------------------\n```\n\n- The PHP project is in this repo and I have made a backup of the database in art_gallery.sql\n\t\n- The project can be viewed at http://oa-s139-07.sheridanc.on.ca/myProj/index.html\n\n- For the admin section of the site you will have to use the Username: admin, Password: sheridan\t\n\n## Prerequisties:\n- Docker \n- MySQL \n- phpMyAdmin\n\n## MYSQL:\nMySQL is an open-source relational database management system. \n\n## PhpMyAdmin:\nphpMyAdmin is a free and open source administration tool for MySQL and MariaDB. \nAs a portable web application written primarily in PHP\n\n## Pull MySQL Docker image \n\n```\ndocker pull mysql:lts\n```\n```\ndocker run --name dev-mysql -e MYSQL_ROOT_PASSWORD=dev123 -d mysql:lts\n```\n## After MySQL server is running let us pull the phpMyAdmin image and create the container\n\n```\ndocker pull phpmyadmin/phpmyadmin:latest\n```\n```\ndocker run --name dev-phpmyadmin -d --link dev-mysql:db -p 8081:80 phpmyadmin/phpmyadmin:latest\n```\n\n## Access phpMyAdmin http://localhost:8081/\n\n- user: root\n- pass: dev123\n\n## Create database within phpMyAdmin\n- create database names art_gallery\n- import data dump\n\n## Copy art-gallery php project files to the container\n\n```\ndocker cp art-gallery/. dev-phpmyadmin:/var/www/html/art-gallery/\n```\n\n## Get MySQL server IP Address to setup DB connection within PHP application\n\n```\ndocker inspect dev-mysql | grep IPAddress\n```\n\n## Access using CLI\n\n```\ndocker exec -it dev-mysql bash\n\nmysql -u root -p\n\nselect now();\nselect current_timestamp();\nselect current_date,curdate(),current_date();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiparamr%2Fsheridan-gallery-php-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiparamr%2Fsheridan-gallery-php-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiparamr%2Fsheridan-gallery-php-mysql/lists"}