{"id":20714230,"url":"https://github.com/theogrammer/csc_439_lab_2","last_synced_at":"2026-06-30T05:31:32.424Z","repository":{"id":89990170,"uuid":"533789245","full_name":"theogrammer/CSC_439_Lab_2","owner":"theogrammer","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-13T02:24:05.000Z","size":937,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T18:58:51.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/theogrammer.png","metadata":{"files":{"readme":"README.txt","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":"2022-09-07T13:55:52.000Z","updated_at":"2023-02-03T19:00:44.000Z","dependencies_parsed_at":"2023-05-30T19:45:39.706Z","dependency_job_id":null,"html_url":"https://github.com/theogrammer/CSC_439_Lab_2","commit_stats":null,"previous_names":["theogrammer/csc_439_lab_2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theogrammer/CSC_439_Lab_2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogrammer%2FCSC_439_Lab_2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogrammer%2FCSC_439_Lab_2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogrammer%2FCSC_439_Lab_2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogrammer%2FCSC_439_Lab_2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theogrammer","download_url":"https://codeload.github.com/theogrammer/CSC_439_Lab_2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogrammer%2FCSC_439_Lab_2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265895910,"owners_count":23845403,"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-11-17T02:30:20.839Z","updated_at":"2026-06-30T05:31:32.388Z","avatar_url":"https://github.com/theogrammer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"================================\n== TO BUILD\n================================\n\ndocker build -t lab2 .\n\n- This command means \"build a docker image from the current directory, \".\", and tag it as \"lab2\".\n\n================================\n== TO RUN\n================================\n\npowershell:\ndocker run -it --rm --name lab2_container -v ${pwd}:/usr/src/myapp lab2\n\nbash:\ndocker run -it --rm --name lab2_container -v $(pwd):/usr/src/myapp lab2\n\n- This command means \"Run the image lab2 with the following options\":\n  -it : run interactively \n  --rm : remove container when it exits\n  --name : name it lab2_container, for when we use \"docker ps\" to see what containers are running.\n  -v : mount our current directory to the container, so we don't have to rebuild every code change.\n\n================================\n== TO TEST\n================================\n\npowershell:\ndocker run -it --rm --name lab2_container -v ${pwd}:/usr/src/myapp lab2 phpunit .\n\nbash:\ndocker run -it --rm --name lab2_container -v $(pwd):/usr/src/myapp lab2 phpunit .\n\n- This command is similar to run, but after the image name (lab2) we override the default CMD with our phpunit command \"phpunit .\" .\n\n  \n================================\n== NOTES\n================================\n- Remember, you can use the up and down arrow keys to cycle through previous commands on the terminal\n- The -it option will not work with Git Bash on Windows; use PowerShell, Cygwin, or WSL.\n- The difference between Powershell and Bash variants is the {} or () in the pwd.\n- These docker commands can have issues with spaces in paths with bash; try to put your code in a path with no spaces.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheogrammer%2Fcsc_439_lab_2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheogrammer%2Fcsc_439_lab_2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheogrammer%2Fcsc_439_lab_2/lists"}