{"id":19518550,"url":"https://github.com/softcatala/pccd","last_synced_at":"2025-07-21T03:03:43.623Z","repository":{"id":143128966,"uuid":"602987953","full_name":"Softcatala/pccd","owner":"Softcatala","description":"Accés en línia a la base de dades de Víctor Pàmies.","archived":false,"fork":false,"pushed_at":"2025-07-10T22:20:16.000Z","size":1176,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-20T01:55:27.751Z","etag":null,"topics":["microsoft-access-database","mysql-database","online-dictionary","php"],"latest_commit_sha":null,"homepage":"https://pccd.dites.cat","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Softcatala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2023-02-17T11:29:18.000Z","updated_at":"2025-07-10T22:20:20.000Z","dependencies_parsed_at":"2024-01-08T02:05:56.615Z","dependency_job_id":"3c4773da-b934-4319-9a3d-add2653c4a9d","html_url":"https://github.com/Softcatala/pccd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Softcatala/pccd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Softcatala%2Fpccd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Softcatala%2Fpccd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Softcatala%2Fpccd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Softcatala%2Fpccd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Softcatala","download_url":"https://codeload.github.com/Softcatala/pccd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Softcatala%2Fpccd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266231762,"owners_count":23896473,"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":["microsoft-access-database","mysql-database","online-dictionary","php"],"created_at":"2024-11-11T00:12:34.993Z","updated_at":"2025-07-21T03:03:43.611Z","avatar_url":"https://github.com/Softcatala.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paremiologia catalana comparada digital (PCCD) [![License: AGPL v3](docs/img/agpl-v3.svg)](https://www.gnu.org/licenses/agpl-3.0)\n\nThis is the source code of [Paremiologia catalana comparada digital](https://pccd.dites.cat/) website.\n\n## Installation\n\n1. Copy `.env.sample` to `.env`.\n\n2. Build the container using the default Debian-based image:\n\n```bash\ndocker compose up\n```\n\nWhen the database has finished importing, the website should be available at \u003chttp://localhost:8092\u003e, depending on your\n`.env` file.\n\nNote: If you don't have a database, you can copy `tmp/schema.sql` and `tmp/schema_init_sample.sql` files to\n`install/db/`. That will import an empty database and should allow you to browse the website locally.\n\n## Updating the content and creating a new release\n\nFor detailed instructions on updating the content and pushing a new release, please see the [Content Update and Release Guide](docs/Content_Update_and_Release_Guide.md).\n\n## Local development\n\n### Development requirements\n\n- PHP: version 8.4 or later is required.\n- Node.js: version 20 or later is required.\n- Docker.\n\n### Assets\n\nCSS/JavaScript code resides in `src/js/` and `src/css/`. Assets are built and minified running:\n\n```bash\nnpm run build:assets\n```\n\n### Code linting, formatting and static code analysis\n\nLinting and static code analysis:\n\n```bash\nnpm run check:code\n```\n\nAutomatic fixing code and formatting:\n\n```bash\nnpm run fix\n```\n\n### Automated tests\n\n```bash\nnpm test\n```\n\n`BASE_URL` environment variable can be overridden in tests that target the web server (e.g. Playwright):\n\n```bash\nBASE_URL=https://pccd.dites.cat npm test\n```\n\nYou may need to run `npm run refresh:test-data` if the data has changed, in order to pass some e2e tests.\n\nFor running some tests in **all** pages, run:\n\n```bash\nnpm run check:sitemap\n```\n\n### Profiling\n\nSPX and XHProf profilers are available:\n\n```bash\nnpm run docker:build:spx\n```\n\n```bash\nnpm run docker:build:xhprof\n```\n\nProfiler reports can be accessed in `/admin/`, alongside the other reports (web admin password is set in the `.env`\nfile).\n\n## Contributing\n\nFor details on contributing to this repository, see the contributing guidelines:\n\n- [English version](CONTRIBUTING.md)\n- [Versió en català](CONTRIBUTING_ca.md)\n\n## Technology stack\n\n\u003ca href=\"https://www.php.net/\"\u003e\u003cimg src=\"docs/img/php.svg\" alt=\"PHP\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca href=\"https://developer.mozilla.org/docs/Web/JavaScript\"\u003e\u003cimg src=\"docs/img/javascript.svg\" alt=\"JavaScript\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca href=\"https://developer.mozilla.org/docs/Web/CSS\"\u003e\u003cimg src=\"docs/img/css.svg\" alt=\"CSS\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca href=\"https://httpd.apache.org/\"\u003e\u003cimg src=\"docs/img/apache.svg\" alt=\"Apache HTTP server\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca href=\"https://mariadb.org/\"\u003e\u003cimg src=\"docs/img/mariadb.svg\" alt=\"MariaDB\" width=\"50\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/mdbtools/mdbtools\"\u003e\u003cimg src=\"docs/img/mdbtools.png\" alt=\"MDB Tools\" width=\"50\"\u003e\u003c/a\u003e\n\n## Copyright \u0026 License\n\nCopyright (c) Pere Orga Esteve \u003cpere@orga.cat\u003e, 2020.\n\nCopyright (c) Víctor Pàmies i Riudor \u003cvpamies@gmail.com\u003e, 2020.\n\nThis source code is licensed under the GNU Affero General Public License, version 3 or later, as\ndetailed in the [LICENSE](LICENSE) file or available at \u003chttps://www.gnu.org/licenses/agpl-3.0.html\u003e.\n\nNote that the database and media files are not distributed with this repository. For more details about PCCD, visit \u003chttps://pccd.dites.cat/\u003e.\n\nThis repository includes:\n\n- [Chart.js](https://www.chartjs.org/), licensed under the [MIT License](https://github.com/chartjs/Chart.js/blob/master/LICENSE.md).\n- [Composer](https://getcomposer.org/), licensed under the [MIT License](https://github.com/composer/composer/blob/main/LICENSE).\n- [Roboto font](https://github.com/googlefonts/roboto), licensed under the [Apache License Version 2.0](src/fonts/LICENSE).\n- [simple-datatables](https://github.com/fiduswriter/simple-datatables), licensed under the\n  [LGPL Version 3](https://github.com/fiduswriter/simple-datatables/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftcatala%2Fpccd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftcatala%2Fpccd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftcatala%2Fpccd/lists"}