{"id":28140959,"url":"https://github.com/experience-monks/wordpress-vip-boilerplate","last_synced_at":"2025-05-14T18:14:31.891Z","repository":{"id":66077910,"uuid":"161553170","full_name":"Experience-Monks/wordpress-vip-boilerplate","owner":"Experience-Monks","description":"Local WordPress VIP Go development environment","archived":false,"fork":false,"pushed_at":"2019-10-16T19:19:52.000Z","size":611,"stargazers_count":1,"open_issues_count":6,"forks_count":6,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-03-30T09:01:59.267Z","etag":null,"topics":["boilerplate","docker","vip-go","wordpress","wordpress-vip"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Experience-Monks.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}},"created_at":"2018-12-12T22:30:16.000Z","updated_at":"2021-01-15T17:41:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbd37573-708b-4bb7-be31-2d81204a1657","html_url":"https://github.com/Experience-Monks/wordpress-vip-boilerplate","commit_stats":null,"previous_names":["experience-monks/wordpress-vip-boilerplate","jam3/wordpress-vip-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experience-Monks%2Fwordpress-vip-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experience-Monks%2Fwordpress-vip-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experience-Monks%2Fwordpress-vip-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experience-Monks%2Fwordpress-vip-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Experience-Monks","download_url":"https://codeload.github.com/Experience-Monks/wordpress-vip-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198433,"owners_count":22030966,"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":["boilerplate","docker","vip-go","wordpress","wordpress-vip"],"created_at":"2025-05-14T18:12:51.658Z","updated_at":"2025-05-14T18:14:31.867Z","avatar_url":"https://github.com/Experience-Monks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker local environment for WP VIP GO\n\nThis repository provides a local docker-based environment for WP VIP Go. It includes WordPress, MySql and phpmyadmin.\n\n## Installation\n\n### Docker Set up\n\n1. Install Docker\n   - Mac OS: https://docs.docker.com/docker-for-mac/install/\n   - Centos or Amazon Linux:\n     ```bash\n     [user]$ sudo yum update -y\n     [user]$ sudo yum install -y docker\n     [user]$ sudo service docker start\n     [user]$ sudo usermod -aG docker user\n     ```\n   - Logout from the system and login again to apply last change.\n2. In order to verify docker installation:\n   ```bash\n   [user]$ docker info\n   ```\n3. Install Docker Compose\n   - Mac OS: Docker already include Compose\n   - Centos or Amazon Linux:\n     ```bash\n     [user]$ sudo curl -L \"https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)\" -o /usr/local/bin/docker-compose\n     sudo chmod +x /usr/local/bin/docker-compose\n     ```\n4. In order to verify docker-compose installation:\n   ```bash\n   [user]$ docker-compose --version\n   ```\n\n### Docker Set up\n\n1. Clone this repository\n2. Create a `.env` file based on the `.env.template`\n3. Run `$ docker-compose up -d`\n4. Run `$ ./local_init.sh`\n\nThe script will clone your repository and replace it with wp-content folder\nYou can check out the logs of the installation using `$ docker-compose logs -f`\n\nOnce done, you should be able to access Wordpress at http://jam3site.local/wp-admin. You should see the default Wordpress setup screen.\n\n### DB Administration\n\nPHPMyAdmin is installed by default locally and can be accessed at http://jam3site.local:8889/. If however you want to access the db using another tool, like [Sequel Pro](https://www.sequelpro.com/), you can comment out the PHPMyAdmin service from `docker-compose.yml` and add:\n\n```\n    ports:\n      - \"3306:3306\"\n```\n\nto the mysql service. This will expose MySQL service to your local machine.\n\n### Setup Repository\n\n1. Synchronize the DB\n\n## Troubleshooting\n\n### Issue with some containers\n\nCheck the status of the containers using `$ docker-compose ps`.\n\n### Stopping containers\n\nIn the same folder where `docker-compose up -d` was executed do `docker-compose stop` the container will be stoped and the system is prepared to up new containers using same ports.\nUsing `docker ps` we can see the container running and using `docker stop CONTANINERID` we can stop conatiners individually\n\n### Accessing containers\n\nYou can access the shell of a container using `$ docker-compose exec SERVICENAME /bin/bash`. So for example, `docker-compose exec db /bin/bash` will connect to the MySQL container, and then `root@8d9a9bc9e2ea:/# echo $MYSQL_ROOT_PASSWORD` will echo out your environment password.\n\n### Remove all the containers\n\nIn case something went wrong and you want to start over, you can use `$ docker-compose down --volumes` to remove all.\n\nIf you want to remove them entirely from the system, you can also run `$ docker system prune -a` to remove all stray, not running, images, containers, volumes, and networks.\n\n### Logging\n\nOur `docker-compose` is running in background, if you want to check the logs use `$docker-compose logs wordpress`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperience-monks%2Fwordpress-vip-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexperience-monks%2Fwordpress-vip-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperience-monks%2Fwordpress-vip-boilerplate/lists"}