{"id":26647315,"url":"https://github.com/offirmo/base-wordpress","last_synced_at":"2025-10-03T23:17:27.673Z","repository":{"id":35970616,"uuid":"40261683","full_name":"Offirmo/base-wordpress","owner":"Offirmo","description":"A wordpress seed for quickly mounting quality wordpress sites","archived":false,"fork":false,"pushed_at":"2015-12-07T22:38:57.000Z","size":24307,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T23:51:39.928Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Offirmo.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-08-05T18:18:07.000Z","updated_at":"2015-08-05T19:24:18.000Z","dependencies_parsed_at":"2022-09-16T15:50:16.942Z","dependency_job_id":null,"html_url":"https://github.com/Offirmo/base-wordpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Offirmo/base-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fbase-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fbase-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fbase-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fbase-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Offirmo","download_url":"https://codeload.github.com/Offirmo/base-wordpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fbase-wordpress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265554776,"owners_count":23787279,"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":"2025-03-24T23:51:42.246Z","updated_at":"2025-10-03T23:17:22.633Z","avatar_url":"https://github.com/Offirmo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base-wordpress\nA wordpress seed for quickly mounting quality wordpress sites\n\nUsing wp-cli\n\n```bash\nsudo ./wp.sh start base --port 10000 --no-src\nsudo docker exec -it \"wp_base\" bash\n```\npuis dans le bash du conteneur :\n```bash\ncd\napt-get update\napt-get upgrade --yes\napt-get install curl jq --yes\ncurl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar\nphp wp-cli.phar --info --allow-root\nchmod +x wp-cli.phar\ncp wp-cli.phar /usr/local/bin/wp\n```\n\ngo wordpress, thanks http://wp-cli.org/ http://wp-cli.org/commands/\n```bash\ncd /var/www/html/\nrm -rf *\nrm -rf .*\nwp --allow-root core download --locale=fr_FR\nwp --allow-root core config --dbname=wordpress --dbuser=username --dbpass=password --dbhost=mysql --dbprefix=xr7h81hn_ --locale=fr_FR\nwp --allow-root db drop\nwp --allow-root db create\nwp --allow-root core install --url=http://192.168.88.88:10000  --title=\"Offirmo's base WP\" --admin_user=adminzero --admin_password=adminzero --admin_email=offirmo.net@gmail.com\nwp --allow-root core language list\nwp --allow-root core language list --status=installed\nwp --allow-root core language install fr_FR\nwp --allow-root core language activate fr_FR\nwp --allow-root user create \"Offirmo\" \"offirmo.net+wpbase@gmail.com\" --role=administrator --user_pass=WPBasePassword --display_name=\"Prestataire technique\" --first_name=Administrateur --last_name=Prestataire\nwp --allow-root user delete adminzero --reassign=2\nwp --allow-root theme delete twentythirteen twentyfourteen\nwp --allow-root plugin uninstall hello --deactivate\nwp --allow-root plugin update akismet\nwp --allow-root plugin activate akismet\nwp --allow-root plugin install http://offirmo.github.io/html_tests/misc/backupbuddy-6.2.2.2.zip --activate\nchown -R www-data:www-data *\nchmod -R o+wx *\n```\nhere make the 1st backup (http://192.168.88.88:10000/wp-login.php, Offirmo/WPBasePassword) then continue\n```bash\nwp --allow-root plugin install better-wp-security --activate\nwp --allow-root plugin install polylang --activate\nwp --allow-root plugin install language-icons-flags-switcher --activate\nwp --allow-root plugin install simple-drop-cap --activate\nwp --allow-root plugin install perfect-pullquotes --activate\nwp --allow-root plugin install simple-custom-css --activate\nwp --allow-root plugin install favicon-by-realfavicongenerator --activate\nwp --allow-root plugin install wp-dashboard-notes --activate\nwp --allow-root plugin install dashboard-directory-size --activate\nwp --allow-root plugin install wpmandrill --activate\nwp --allow-root plugin install check-email --activate\nwp --allow-root theme install http://offirmo.github.io/html_tests/misc/Etendard-1-016.zip\nwp --allow-root theme install http://offirmo.github.io/html_tests/misc/Etendard-enfant.zip --activate\nwp --allow-root plugin install http://miwisoft.com/miwoftp.zip --activate\nwp --allow-root menu create \"Menu principal fr\"\nwp --allow-root menu create \"Menu du pied de page fr\"\nwp --allow-root menu create \"Menu principal en\"\nwp --allow-root menu create \"Menu du pied de page en\"\nwp --allow-root menu create \"Menu principal de\"\nwp --allow-root menu create \"Menu du pied de page de\"\nchown -R www-data:www-data *\nchmod -R o+wx *\n\n# Général\nwp --allow-root option update \"users_can_register\" \"0\"\nwp --allow-root option update \"date_format\" \"Y-m-d\"\nwp --allow-root option update \"time_format\" \"H:i\"\n# Discussion\nwp --allow-root option update \"default_comment_status\" \"closed\"\nwp --allow-root option update \"comment_moderation\" \"1\"\nwp --allow-root option update \"comment_registration\" \"1\"\nwp --allow-root option update \"avatar_default\" \"gravatar_default\"\n# Permaliens\nwp --allow-root option update \"permalink_structure\" \"/%postname%/\"\nwp --allow-root option update \"uploads_use_yearmonth_folders\" \"0\"\n# Akismet\nwp --allow-root option update \"wordpress_api_key\" \"d49b5ee258bd\"\nwp --allow-root option update \"akismet_show_user_comments_approved\" \"0\"\nwp --allow-root option update \"akismet_strictness\" \"0\"\n# Etendard advertising\nwp --allow-root option update \"CocoricoPostMetaStorePostId\" \"\"\n\n```\n\nSpecial lines\n```bash\nwp --allow-root db repair\nwp --allow-root db optimize\nwp --allow-root core update\nwp --allow-root core update-db\nwp --allow-root plugin update --all\n\nwp --allow-root user list\nwp --allow-root menu list\nwp --allow-root post list --post_type=page,post\nwp --allow-root option list --format=json \u003e jq \u003e options03.json\njq . pb_backupbuddy/\nwp --allow-root option list --format=json \u003e options02.json\n\nwp --allow-root plugin uninstall backupbuddy --deactivate\n```\n\nExperimental\n```bash\nwp --allow-root menu item add-post sidebar-menu 33 --title=\"Custom Test Post\"\n\nwp --allow-root plugin install wpclef --activate\nwp --allow-root plugin install wp-smush --activate\np3-profiler\n\nwp --allow-root theme install sydney --activate\nwp --allow-root theme install http://getonepager.com/downloads/onepager-1.0.0-beta.zip\nbriks\narcade-basic\neryn\ncruzy\nseasonal\nmk\nheinrich\n\n\n```\n\nold lines, for info\n```bash\nwp --allow-root plugin install jetpack\nwp --allow-root plugin install http://offirmo.github.io/html_tests/misc/backupbuddy-5.2.0.10.zip --activate\nwp --allow-root plugin install miwoftp --activate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffirmo%2Fbase-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foffirmo%2Fbase-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffirmo%2Fbase-wordpress/lists"}