{"id":31658180,"url":"https://github.com/toms15/bedwind","last_synced_at":"2026-05-04T08:42:21.265Z","repository":{"id":316225609,"uuid":"1045084212","full_name":"Toms15/bedwind","owner":"Toms15","description":"Modern WordPress development setup with Bedrock boilerplate and Sage theme starter. Features Tailwind CSS 4, ViteJS build system, JavaScript ES6+, and custom ACF blocks architecture for efficient theme development.","archived":false,"fork":false,"pushed_at":"2025-09-23T10:39:29.000Z","size":1074,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T12:32:17.425Z","etag":null,"topics":["acf-blocks","acf-pro","bedrock","es6","sage","vitejs","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/Toms15.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2025-08-26T16:21:55.000Z","updated_at":"2025-09-23T10:40:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"d91d5484-254c-47b8-8b8b-a60800f37543","html_url":"https://github.com/Toms15/bedwind","commit_stats":null,"previous_names":["toms15/bedwind"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Toms15/bedwind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toms15%2Fbedwind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toms15%2Fbedwind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toms15%2Fbedwind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toms15%2Fbedwind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toms15","download_url":"https://codeload.github.com/Toms15/bedwind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toms15%2Fbedwind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278795515,"owners_count":26047224,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["acf-blocks","acf-pro","bedrock","es6","sage","vitejs","wordpress"],"created_at":"2025-10-07T15:14:11.087Z","updated_at":"2025-10-07T15:14:12.224Z","avatar_url":"https://github.com/Toms15.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Project with Bedrock \u0026 Sage\n\nThis project uses [Bedrock](https://roots.io/bedrock/) as a WordPress boilerplate and [Sage](https://roots.io/sage/) as a starter theme.\n\n## Requirements\n\n- PHP \u003e= 8.0\n- Composer\n- Node.js \u003e= 16.0\n- npm\n\n## Initial Setup\n\n### 1. Clone the repository\n\n```bash\ngit clone \u003crepository-url\u003e project-name\ncd project-name\n```\n\n### 2. Install PHP dependencies\n\n```bash\ncomposer install\n```\n\n### 3. Configure environment\n\nCopy the example configuration file and customize it:\n\n```bash\ncp .env.example .env\n```\n\nEdit the `.env` file with your configurations:\n\n```env\nDB_NAME='database_name'\nDB_USER='db_user'\nDB_PASSWORD='db_password'\nDB_HOST='localhost'\n\nWP_ENV='development'\nWP_HOME='https://project-name.test'\nWP_SITEURL=\"${WP_HOME}/wp\"\nWP_HOME_DOMAIN='project-name.test'\n\n# Generate secure keys at https://roots.io/salts.html\nAUTH_KEY='generate-secure-key'\nSECURE_AUTH_KEY='generate-secure-key'\nLOGGED_IN_KEY='generate-secure-key'\nNONCE_KEY='generate-secure-key'\nAUTH_SALT='generate-secure-key'\nSECURE_AUTH_SALT='generate-secure-key'\nLOGGED_IN_SALT='generate-secure-key'\nNONCE_SALT='generate-secure-key'\n```\n\n### 4. Sage theme setup\n\nNavigate to the theme folder and install Node.js dependencies:\n\n```bash\ncd web/app/themes/sage\ncomposer install\nnpm install\n```\n\n### 5. Theme development\n\nTo start development compilation (with hot reload):\n\n```bash\nnpm run dev\n```\n\nTo compile assets for production:\n\n```bash\nnpm run build\n```\n\n## Project Structure\n\n```\nproject-name/\n├── config/                 # Bedrock configuration files\n├── web/\n│   ├── app/\n│   │   ├── mu-plugins/     # Must-use plugins\n│   │   ├── plugins/        # Standard plugins\n│   │   ├── themes/         # Custom themes\n│   │   │   └── sage/       # Sage theme\n│   │   └── uploads/        # Uploaded files\n│   ├── wp-config.php       # WordPress config\n│   └── index.php           # Entry point\n├── vendor/                 # Composer dependencies\n├── .env                    # Environment configuration (do not commit!)\n└── composer.json           # PHP dependencies\n```\n\n## Useful Commands\n\n### Bedrock\n\n```bash\n# Install plugin via Composer\ncomposer require wpackagist-plugin/plugin-name\n\n# Install theme via Composer  \ncomposer require wpackagist-theme/theme-name\n\n# Update WordPress and plugins\ncomposer update\n```\n\n### Sage\n\n```bash\n# Compile assets for development\nnpm run dev\n\n# Compile assets for production\nnpm run build\n\n# Watch mode (automatically recompiles)\nnpm run dev:watch\n\n# Code linting\nnpm run lint\n\n# Auto-fix linting errors\nnpm run lint:fix\n```\n\n## Database\n\nMake sure to create the database specified in `DB_NAME` in the `.env` file before accessing the site.\n\n## Access URLs\n\n- **Frontend**: `https://project-name.test`\n- **Admin**: `https://project-name.test/wp/wp-admin`\n\n## Deployment\n\nFor production deployment:\n\n1. Change `WP_ENV` from `development` to `production` in the `.env` file\n2. Update `WP_HOME` with the production URL\n3. Run `npm run build` to compile optimized assets\n4. Upload files to server excluding:\n   - `node_modules/`\n   - `.env` (create new configuration on server)\n   - Development files (`.git`, `.gitignore`, etc.)\n\n## Additional Notes\n\n- The `.env` file contains sensitive information and **must not be committed** to the repository\n- Compiled assets are in the `web/app/themes/sage/public/` folder\n- Dependencies are managed through Composer (PHP) and npm (Node.js)\n- WordPress core is installed in the `web/wp/` folder and should not be modified directly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoms15%2Fbedwind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoms15%2Fbedwind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoms15%2Fbedwind/lists"}