{"id":42334837,"url":"https://github.com/datacite/datacite-wordpress-theme","last_synced_at":"2026-01-27T14:14:46.591Z","repository":{"id":215412184,"uuid":"724223838","full_name":"datacite/datacite-wordpress-theme","owner":"datacite","description":"Wordpress theme files for DataCite's information site and blog, datacite.org","archived":false,"fork":false,"pushed_at":"2025-12-16T22:49:19.000Z","size":2585,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-12-20T13:19:09.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Twig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datacite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-27T16:40:31.000Z","updated_at":"2025-01-17T01:31:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c56c50d-5798-4540-a8b6-adbfdb83ee77","html_url":"https://github.com/datacite/datacite-wordpress-theme","commit_stats":null,"previous_names":["datacite/datacite-wordpress-theme"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datacite/datacite-wordpress-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fdatacite-wordpress-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fdatacite-wordpress-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fdatacite-wordpress-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fdatacite-wordpress-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datacite","download_url":"https://codeload.github.com/datacite/datacite-wordpress-theme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fdatacite-wordpress-theme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28814565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: 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":"2026-01-27T14:14:45.809Z","updated_at":"2026-01-27T14:14:46.585Z","avatar_url":"https://github.com/datacite.png","language":"Twig","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Generic badge](https://img.shields.io/badge/verison-2.0-green.svg)](https://shields.io/)\n\n[![en](https://img.shields.io/badge/lang-en-red.svg)](https://github.com/datacite/datacite-wordpress-theme/blob/main/README.md)\n[![pl](https://img.shields.io/badge/lang-pl-red.svg)](https://github.com/datacite/datacite-wordpress-theme/blob/main/README.pl.md)\n\n### Requirements\n\n- **Docker** - https://docs.docker.com/get-started/#download-and-install-docker\n- **Node** - https://nodejs.org/en/download/\n- **Yarn** (optional) - https://classic.yarnpkg.com/en/docs/install/#mac-stable\n\n### 1. Setting up the environment locally on Docker\n\n#### 1.1 Docker settings\n\nIn order to properly synchronize files between the Docker connector and the template files, you must set the Docker Options\n**Use gRPC FUSE for file sharing** option as active\n\n#### 1.2 Setting the local domain using the example of ```my-project.local```\n\nNavigate to the `etc/hosts` file on Mac/Linux\n\nAt the end of the file, add 2 lines:\n\n```\n127.0.0.1 my-project.local\n::1 my-project.local\n```\nadding these two lines to the hosts file is to direct the selected domain ```my-project.local``` to the local machine, in this case a container in docker\n\n#### 1.3 Environment configuration\n\nIn the main folder, create a new `.env` file by copying the example ```.env.example```\n\n```\ncp .env.example .env\n```\n\nSample configuration of the most important variables\n\n```\nCOMPOSE_PROJECT_NAME=project_name\nDOMAIN=my-project.local\n...\n\nWORDPRESS_TITLE=\"My project title\"\nWORDPRESS_THEME_NAME=\"my-project\"\nWORDPRESS_ADMIN_EMAIL=\"moj-email@mohi.to\"\n...\n\nGULP_PROXY=http://my-project.local\n```\nremember that the values ​​of ```GULP_PROXY``` and ```DOMAIN``` match the invented domain name, in this example it is ```my-project.local```\n\n#### 1.4 Installation\n\nThe following command will, through 7 steps, download the appropriate Docker images, install WordPress according to the configuration given in the ```.env``` file, install selected plugins and run the basic template\n```\nsh install\n```\n\n#### 1.5 Installing packages for node\n\nGo to the source files folder\n\n```\ncd src\n```\n\nInstall packages\n\n```\nnpm install\n// the\nyarn install\n```\n\nRun gulp\n\n```\ngulp watch\n// the\nyarn start\n```\n\n### 2. Available addresses, access data\n\nBased on the domain ```my-project.local``` established at the beginning, we create individual addresses on which we can work\n\n- Wordpress - **http://my-project.local**\n- Wordpress - Admin - **http://my-project.local/wp-admin**\n- Browsersync - **http://locahost:3000**\n- Adminer - **http://my-project.local/_adminer**\n- phpMyAdmin - **http://my-project.local/_pma**\n\nAccess to the database\n\n- Database server: **database**\n- Database user: **root**\n- Database password: **password**\n- Database name: **wordpress**\n\n### 3. Useful commands\n\nUsing WP-CLI to change addresses in the database\n\n```\ndocker-compose run --rm wpcli search-replace 'some-old-domain.pl' 'some-new-domain.pl' --all-tables\n```\n\n### 4. Development\n\n### 4.1 Installing plugins\n\n- premium plugins in the `plugins` folder in the `.zip` archive\n- all other plugins available in the WordPress plugin repository listed in the `plugins.txt` file or added in the `composer.json` file as\n  **wpackagist** repository (https://wpackagist.org/)\n    - for example **W3 Total Cache** https://wordpress.org/plugins/w3-total-cache/\n        - plugins.txt:\n        ```\n        w3-total-cache\n        ```\n        - composer.json:\n        ```\n        {\n        ...\n            \"require\": {\n                \"php\": \"^7.1\",\n                ...\n                \"wpackagist-plugin/w3-total-cache\":\"2.1.1\"\n            }\n        }\n        ```\n\n### 4.2 File structure\n\n- **docker**\n    - **config** (configuration files for nginx and php)\n    - **volumes** (Wordpress files wp-content + wp-config.php)\n    - **logs** (apache and nginx logs)\n- **plugins** (premium plugins for WordPress)\n- **src** (source files)\n    - **styles** (style SCSS)\n    - **scripts** (JS scripts)\n- **theme** (wordpress template directory)\n    - **controllers** (page template files)\n    - **includes** (files containing additional template functionalities)\n    - **styles** (minified style files)\n    - **scripts** (minified JS script files)\n    - **vendor** (additional libraries, installation from composer)\n    - **views** (.twig view files)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacite%2Fdatacite-wordpress-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatacite%2Fdatacite-wordpress-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacite%2Fdatacite-wordpress-theme/lists"}