{"id":17963852,"url":"https://github.com/almasb/ci553-cw","last_synced_at":"2025-04-07T17:09:25.797Z","repository":{"id":62203515,"uuid":"540366250","full_name":"AlmasB/CI553-CW","owner":"AlmasB","description":"CW codebase for CI553","archived":false,"fork":false,"pushed_at":"2024-08-07T20:40:11.000Z","size":8422,"stargazers_count":5,"open_issues_count":8,"forks_count":282,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T13:18:43.679Z","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/AlmasB.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":"2022-09-23T09:22:58.000Z","updated_at":"2024-05-09T16:28:00.000Z","dependencies_parsed_at":"2024-10-29T12:29:23.121Z","dependency_job_id":null,"html_url":"https://github.com/AlmasB/CI553-CW","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/AlmasB%2FCI553-CW","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlmasB%2FCI553-CW/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlmasB%2FCI553-CW/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlmasB%2FCI553-CW/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlmasB","download_url":"https://codeload.github.com/AlmasB/CI553-CW/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694876,"owners_count":20980733,"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-29T11:45:40.441Z","updated_at":"2025-04-07T17:09:25.752Z","avatar_url":"https://github.com/AlmasB.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2022-CI553-catshop\nCatShop system release for the 2022-CI553 cohort. This is a deliberately convoluted legacy codebase for the CI553 coursework.\n\n## Notes\n\nThe file DataBase.txt must contain Derby to work with Derby database\n\n### BlueJ\nTo use the Derby database, you must add in \nTools -\u003e Preferences -\u003e Libaries\n%DERBY_HOME%\\lib\\derby.jar\n%DERBY_HOME%\\lib\\derbytools.jar\n\nREPLACE %DERBY_HOME% with the path to the base of the Derby database\n\n### Eclipse\nTo use the Derby database, after importing the project,\nMove the file DataBase.txt to be in the toplevel directory of your project \n(with src and the JRE System library)\nCopy also the directory Images to the same top level directory as DataBase.txt\n\nThen in Properties -\u003e Resource -\u003e Java Build Path -\u003e Libraries\nSelect Add external JARs\n%DERBY_HOME%\\lib\\derby.jar\n\nREPLACE %DERBY_HOME% with the path to the base of the Derby database\n\n### IntelliJ 2022.1.4+\n\n1. File -\u003e New project from existing sources -\u003e select CI553-CW. (Click next until complete)\n2. Select JDK 17 ([download](https://jdk.java.net/archive/) if not installed).\n3. Run (both of which will fail) `clients.Setup.main()` and `clients.Main.main()`.\n4. Run -\u003e Edit configurations (alt+shift+f10) and:\n- select Setup, modify options -\u003e modify classpath -\u003e add `\\lib\\derby.jar` (located in lib/db-derby-10.14.2.0-lib/)\n- select Main, modify options -\u003e modify classpath -\u003e add `\\lib\\derby.jar` (located in lib/db-derby-10.14.2.0-lib/)\n\n## Run\n\n1. To create the Derby database, after compiling the system, run `clients.Setup.main()`.\n\n2. To start the system, run `clients.Main.main()`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmasb%2Fci553-cw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falmasb%2Fci553-cw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmasb%2Fci553-cw/lists"}