{"id":25020890,"url":"https://github.com/frontainer/wp-frontplate","last_synced_at":"2026-05-02T11:36:20.224Z","repository":{"id":80869510,"uuid":"69570485","full_name":"frontainer/wp-frontplate","owner":"frontainer","description":"frontplate with wordpress","archived":false,"fork":false,"pushed_at":"2017-01-30T06:50:37.000Z","size":135,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T10:29:52.148Z","etag":null,"topics":["babel","docker","frontplate","frontplate-cli","template","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/frontainer.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}},"created_at":"2016-09-29T13:32:42.000Z","updated_at":"2017-02-19T10:11:23.000Z","dependencies_parsed_at":"2023-04-15T13:47:44.807Z","dependency_job_id":null,"html_url":"https://github.com/frontainer/wp-frontplate","commit_stats":null,"previous_names":["frontainer/wp-frontplate"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/frontainer/wp-frontplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontainer%2Fwp-frontplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontainer%2Fwp-frontplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontainer%2Fwp-frontplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontainer%2Fwp-frontplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frontainer","download_url":"https://codeload.github.com/frontainer/wp-frontplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontainer%2Fwp-frontplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32533344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T11:28:32.350Z","status":"ssl_error","status_checked_at":"2026-05-02T11:27:30.140Z","response_time":132,"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":["babel","docker","frontplate","frontplate-cli","template","wordpress"],"created_at":"2025-02-05T12:18:05.531Z","updated_at":"2026-05-02T11:36:20.112Z","avatar_url":"https://github.com/frontainer.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-frontplate\n\nフロントエンド開発の効率を上げるテンプレートのWordpress版\n\n[CHANGELOG](https://github.com/frontainer/wp-frontplate/blob/master/CHANGELOG.md)\n\n## Dependence\n\n* [NodeJS](https://nodejs.org/) 5.0以上\n* [frontplate-cli](https://www.npmjs.com/package/frontplate-cli)\n* [Docker for Mac](https://docs.docker.com/docker-for-mac/) または [Docker for Windows](https://docs.docker.com/docker-for-windows/)\n\n## Get Started\n\nfrontplate-cliをインストールします。\n\n```\nnpm i frontplate-cli -g\n```\n\n次にプロジェクトを生成します。\n\n```\nfrp create my-wp-app --preset wp\n```\n\nダウンロードとインストールが完了したら、できたプロジェクトに移動し、`npm start` コマンドを実行します。\n\n```\ncd my-wp-app\nnpm start\n```\n\n以上で起動完了です。その他のコマンドは [frontplate](https://github.com/frontainer/frontplate) のREADMEを参照してください\n\n## ビルド\n\n```\nnpm run build\n```\n\n## サーバー起動\u0026ファイル監視\n\n```\nnpm run serve\n```\n\n## MySQLエクスポート\n\n次のコマンドを実行し、`プロジェクト名_mysql_1`というコンテナが起動していることを確認します。\n\n```\ndocker ps\n```\n\nコンテナ名を記憶したら、次のコマンドを実行します。 \n\n※ プロジェクト名_mysql_1の部分は前記のコマンドで確認したものに置き換えてください\n※ DB名の部分はWordpressを設置したデータベース名に置き換えてください\n※ ユーザー名やパスワードも適宜変更してください\n\n```\ndocker exec -it プロジェクト名_mysql_1 bash -c \"mysqldump -uroot -ppassword DB名 –add-drop-table \u003e /docker-entrypoint-initdb.d/mysql.dump.sql\"\n```\n\n`sql/mysql.dump.sql` というファイルが出力されます。\n\n## MySQLインポート\n\nSQLファイルをもとにデータをインポートする場合は次のコマンドを実行します。\n\n```\ndocker exec -it プロジェクト名_mysql_1 bash -c \"mysql -uroot -ppassword DB名 \u003c /docker-entrypoint-initdb.d/mysql.dump.sql\"\n```\n\n## MySQLの再構築\n\n**【注意】 このコマンドを実行するとデータベースの内容はすべてクリアされます **\n\n`sql/xxxx.sql` のようにSQLファイルを配置します。\n\n次のコマンドを実行します。\n```\ndocker-compose down\nnpm start\n```\n\nsql以下に配置されたSQLをインポートした新しいデータベースが作成されます。\n\n## 構成\n\n[frontplate](https://github.com/frontainer/frontplate) の構成に以下のフォルダが追加されます。\n\n```\n/docker - コンパイルされたデータが入っている\n┃┣ /mysql\n┃┃  ┣ Dockerfile - MySQLのDockerfile\n┃┃  ┗ my.cnf - MySQLの基本設定ファイル\n┃┣ /nginx\n┃┃  ┣ default.conf - Nginxのサーバー設定\n┃┃  ┣ Dockerfile - NginxのDockerfile\n┃┃  ┗ nginx.cnf - Nginxの基本設定ファイル\n┃┗ /phpfpm\n┃    ┣ Dockerfile - php-fpmのDockerfile\n┃    ┣ entrypoint.sh - php-fpm起動スクリプト\n┃    ┗ php-fpm.conf - php-fpmの基本設定ファイル\n/sql - SQLファイルを格納するフォルダ\n/wp - Wordpressのファイル群を入れるフォルダ\n```\n\n## Dependencies documentation\n\nこのテンプレートは[frontplate](https://github.com/frontainer/frontplate)と[frontplate-cli](https://github.com/frontainer/frontplate-cli)がベースになっています。\n\n詳細なドキュメントはそれぞれのドキュメントを参照してください。\n\n[frontplate](https://github.com/frontainer/frontplate)\n[frontplate-cli](https://github.com/frontainer/frontplate-cli)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontainer%2Fwp-frontplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontainer%2Fwp-frontplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontainer%2Fwp-frontplate/lists"}