{"id":17137472,"url":"https://github.com/easingthemes/frontenddot","last_synced_at":"2025-10-26T14:38:25.965Z","repository":{"id":25659648,"uuid":"29095194","full_name":"easingthemes/frontenddot","owner":"easingthemes","description":"Frontend Dot blog","archived":false,"fork":false,"pushed_at":"2015-01-11T18:04:49.000Z","size":7180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T21:23:05.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easingthemes.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}},"created_at":"2015-01-11T15:00:28.000Z","updated_at":"2015-01-11T18:04:49.000Z","dependencies_parsed_at":"2022-07-10T12:16:53.202Z","dependency_job_id":null,"html_url":"https://github.com/easingthemes/frontenddot","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/easingthemes%2Ffrontenddot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Ffrontenddot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Ffrontenddot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Ffrontenddot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easingthemes","download_url":"https://codeload.github.com/easingthemes/frontenddot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245224582,"owners_count":20580367,"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-14T20:07:07.113Z","updated_at":"2025-10-08T16:07:11.101Z","avatar_url":"https://github.com/easingthemes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# frontenddot\nFrontend Dot blog\n\n## LOCAL GIT: Setup WoedPress with GitHub and local server\n\n 1. Create **repo** on GitHub. Choose `Wordpress` gitignore file.\n\n 2. Store your files in separate dir, eg. /home/user/git/\n`git clone git@github.com:easingthemes/frontenddot.git`\n\n 3. Symlink to local server: eg. /opt/lampp/htdocs/\n`ln -s /home/user/git/blog/ /opt/lampp/htdocs/`\n\nIn `htdocs` now you have directory `blog`, \nwhich is something like a clone of `/home/user/git/blog/` dir.\n\n 4. Install WordPress\nPut files in `blog` dir. Create DB.  \n\n 5. Push to Github\n```\ngit add .\ngit commit -m \"WP init\"\ngit push\n```\n\n## REMOTE GIT:\n \n 1. Create subdomain for blog\n`blog.domain.com`\n\n 2. Create remote git `git/blog.git`\n\n```\ncd git mkdir blog.git \u0026\u0026 cd blog.git \ngit init --bare\n```\n 3. Create post-receive hook file\n\n`cat \u003e ~/git/blog.git/hooks/post-receive`\n\n 4. Paste content\n\n```\n#!/bin/sh\ngit --work-tree=/home/drafil/blog.frontenddot.com --git-dir=/home/drafil/git/blog.git checkout -f\n```\n - press control-d to save the file\n\n 5. activate hook\n\n`chmod +x ~/git/blog.git/hooks/post-receive`\n\n!!!!!\n I had some problems with ssh to Dreamhost, so I prepared git manually with Filezilla:\n - create folder `blog.git`\n - reate bare git: `git init --bare`\n - create post-receive file in `blog.git/hook`\n - Add content to hook file:\n - Change permission to 777\n!!!!!\n\n 6. Push to Dreamhost\n\n```\ngit remote add dreamhost ssh://drafil@frontenddot.com/~/git/blog.git \ngit push dreamhost master\n```\n\n 7. Install WordPress, create DB\n\n ##GIT OVERVIEW\n 1. DEVELOPMENT: Local WordPress installation with local git\n 2. PRODUCTION: Remote WordPress installation with remote git - `dreamhost`\n 3. Remote public git on GitHub - `origin`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Ffrontenddot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasingthemes%2Ffrontenddot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Ffrontenddot/lists"}