{"id":39099369,"url":"https://github.com/digitalcube/shifter-static-local","last_synced_at":"2026-01-17T19:01:41.340Z","repository":{"id":46227965,"uuid":"115312888","full_name":"digitalcube/shifter-static-local","owner":"digitalcube","description":"Run Shifter Static WordPress Image Localy.","archived":false,"fork":false,"pushed_at":"2022-01-26T04:26:28.000Z","size":80,"stargazers_count":47,"open_issues_count":0,"forks_count":8,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-05-01T12:50:54.331Z","etag":null,"topics":["docker","getshifter","shifter","wordpress"],"latest_commit_sha":null,"homepage":"https://getshifter.io/","language":"Makefile","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/digitalcube.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":"2017-12-25T06:34:31.000Z","updated_at":"2024-03-26T16:35:29.000Z","dependencies_parsed_at":"2022-09-17T07:11:37.368Z","dependency_job_id":null,"html_url":"https://github.com/digitalcube/shifter-static-local","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/digitalcube/shifter-static-local","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalcube%2Fshifter-static-local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalcube%2Fshifter-static-local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalcube%2Fshifter-static-local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalcube%2Fshifter-static-local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalcube","download_url":"https://codeload.github.com/digitalcube/shifter-static-local/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalcube%2Fshifter-static-local/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"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":["docker","getshifter","shifter","wordpress"],"created_at":"2026-01-17T19:01:40.530Z","updated_at":"2026-01-17T19:01:41.333Z","avatar_url":"https://github.com/digitalcube.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shifter (Static) - Local\n\n[![CircleCI](https://circleci.com/gh/digitalcube/shifter-static-local/tree/main.svg?style=svg)](https://circleci.com/gh/getshifter/shifter-local/tree/main)\n\n[![shifter_local](http://dockeri.co/image/getshifter/shifter_local)](https://hub.docker.com/r/getshifter/shifter_local/)\n\nDocker image for testing WordPress themes and plugins while migrating to Shifter. This image is also available on [Dockerhub](https://hub.docker.com/r/getshifter/shifter_local/).\n\n## Limitations\n\nShifter-Local is released for the purpose of only checking the operation of WordPress theme and plug-in in Shifter platform.\n\nThe following features, combined with the Shifter platform. do not work on Shifter-Local.\n\n- All Shifter menus in WordPress dashboard\n- Terminate, Generate, or etc...\n- Passwordless login\n\n\u003e Currently only environments capable of running `linux/arm64` platforms are supported due to build reasons.\n\u003e As soon as the problem is resolved, we will provide `linux/amd64`, and `linux/arm64`.\n\n## Getting Started\n\n[Install Docker Desktop](https://www.docker.com/products/docker-desktop)\n\n```\ngit clone https://github.com/digitalcube/shifter-static-local.git my-shifter-site\n```\n\n```\ncd my-shifter-site\n```\n\n```\ndocker-compose up\n\nor\n\nnpm run start\n```\n\n### Experimental\n\nTesting \"Create Shifter Site\" (Similar to Create React App npx create-react-app)\n\nStep 1:\n\n```\ngit clone --branch feature/scripts https://github.com/digitalcube/shifter-static-local my-shifter-site\n```\n\nStep 2:\n\n```\ncd my-shifter-site\n```\n\nStep 3:\n\n```\nnpm run start\n```\n\nVisit [https://127.0.0.1:8443](https://127.0.0.1:8443) in your browser.\n\nUse `Ctl + C` in your terminal window to stop running containers.\n\nto run in the background, use `-d` option.\n\n```\ndocker-compose up -d\n```\n\n### Apple Silicon\n\n[Docker Desktop for Apple Silicon](https://docs.docker.com/desktop/mac/apple-silicon/)\n\nUsing the docker-compose.yml config file.\n\n```\ndocker-compose -f docker-compose.yml\n```\n\n### Linux\n\nConsidering file permissions, we recommend using volumes on Linux.\n\n```\ndocker-compose -f docker-compose.yml -f docker-compose_linux.yml up\n```\n\n### Updating Docker Image\n\n```\ndocker-compose pull\n```\n\nYou can use any tag from the following provided.\n\n- `latest`: Similar as Shifter production environment.\n\n### NPM Scripts\n\nNPM scripts are also available.\n\n```\nnpm run start     # Starts site\nnpm run stop      # Stops site\nnpm run clean     # Deletes Docker data\nnpm run reset     # Deletes all data\n```\n\n### Storage\n\n- MacOS\n  - `./volume/app`: `wordpress/wp-content` files\n  - `./volume/db`: `mysql` databases\n- Linux (detect path using `docker volume inspect`)\n  - `/var/lib/docker/volumes/shifterlocal_app/_data`: `wordpress/wp-content` files\n  - `/var/lib/docker/volumes/shifterlocal_db/_data`: `mysql` databases\n\nAll data will be persisted in these directories, even if the Docker containers are stopped.\n\nTo start over with the installation, simply run `make clean`.\n\n### Upgrade mysql 5.6 to 5.7\n\nThe included mysql version has been changed from 5.6 to 5.7.\nIf you want to keep the data, you can upgrade after starting docker-compose with the following command.\n\n```\n$ make mysql_upgrade\n```\n\n## Debugging\n\nSome plugins and themes may conflict with Shifter. Conflicts usually cause the Generator to hang or fail. Here are a few tips.\n\n### Check for a valid JSON format\n\nYour site should return a list of valid URLs in JSON format for Shifter to crawl for generating.\n\nAdd `?url=0` to the websites URL to test.\n\n[https://127.0.0.1:8443?urls=0](`https://127.0.0.1:8443?urls=0`)\n\n### Check for list of all target pages\n\nIf the number of pages to be generated is more than 100, you can check the target by 100 pages by increasing the number of the urls parameter. (e.g. urls=1, urls=2)\n\nPages that do not appear in this list are not subject to generate.\n\nCommon problems and solutions when there are no pages in the list are as follows.\n\n- pagination issues. (Work in progress)\n\n### Displaying PHP Errors\n\nWhile running your site on Shifters [production](https://go.getshifter.io) environment PHP warning are suppressed. These warning if any are visible while running Shifter-Local for debugging your theme.\n\n### Work in subdirectory\n\nTo use WordPress like subdirectory installation, follow the steps below.\n\n- open `docker-compose.yml` to edit\n- remove `#` from `SITE_SUBDIR` line and set subdirectory name\n\n### Run WP-CLI in Container\n\n```\n$ docker-compose exec --workdir /var/www/html/web/wp --user www-data wp /usr/local/bin/wp --version\nWP-CLI 2.4.0\n```\n\n#### Example: force update user password\n\n```\n$ docker-compose exec --workdir /var/www/html/web/wp --user www-data wp /usr/local/bin/wp user update 1 --user_pass=TYPE-NEW-PASSWORD\n\nSuccess: Updated user 1.\n```\n\n#### Example: force update Core to Release Candidate\n\n```\n$ docker-compose exec --workdir /var/www/html/web/wp --user www-data wp /usr/local/bin/wp core update --version=5.7-RC2\n\nSuccess: WordPress updated successfully.\n```\n\n## Considerations\n\n- Depending on your local environment mail functions may send from this container. Example: Under `Outbound Port 25 Blocking`\n\n## Disclaimer\n\nThis Docker image is similar to the one used by Shifter, but does not guarantee complete compatibility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalcube%2Fshifter-static-local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalcube%2Fshifter-static-local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalcube%2Fshifter-static-local/lists"}