All Projects → CHStudio → wordpress-project

CHStudio / wordpress-project

Licence: Apache-2.0 license
Generic project structure for WordPress website industrialisation.

Programming Languages

PHP
23972 projects - #3 most used programming language
ApacheConf
554 projects

Projects that are alternatives of or similar to wordpress-project

Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-7.14%)
Mutual labels:  wp-cli, starter-kit
simple-react-native-starter
Simple ReactNative starter with an opinionated folder structure for mobile development.
Stars: ✭ 73 (+160.71%)
Mutual labels:  starter-kit
pine
pine - A CLI installer for timber
Stars: ✭ 29 (+3.57%)
Mutual labels:  wp-cli
sass-starter-pack
Sass starter files using Gulp v4.0.0 🔥
Stars: ✭ 34 (+21.43%)
Mutual labels:  starter-kit
PreactSimpleStarter
PWA Simple Starter with Preact, Preact-mdl and Webpack2 🔥🔥🔥
Stars: ✭ 65 (+132.14%)
Mutual labels:  starter-kit
go-graphql-api-boilerplate
A Boilerplate of GraphQL API built in Go + graphql-go + gorm
Stars: ✭ 75 (+167.86%)
Mutual labels:  starter-kit
graphql-start-project
A project with opinionated architecture that is used as the basis for new projects.
Stars: ✭ 40 (+42.86%)
Mutual labels:  starter-kit
WordPress-Distribution
This repository helps you to get a local new and fresh WordPress for everything you want (e.g. Developing, Testing, etc.).
Stars: ✭ 16 (-42.86%)
Mutual labels:  wp-cli
starter-kit-doogie-browser
Statamic Starter Kit: Doogie Browser
Stars: ✭ 39 (+39.29%)
Mutual labels:  starter-kit
create-react-app-starter
CRA + typeless starter
Stars: ✭ 21 (-25%)
Mutual labels:  starter-kit
wp-super-cache-cli
A CLI interface for the WP Super Cache plugin
Stars: ✭ 53 (+89.29%)
Mutual labels:  wp-cli
universal-react-relay-starter-kit
A starter kit for React in combination with Relay including a GraphQL server, server side rendering, code splitting, i18n, SEO.
Stars: ✭ 14 (-50%)
Mutual labels:  starter-kit
Frontend-StarterKit
Frontend StarterKit - [Gulp 4, Pug, SCSS, ES6+]
Stars: ✭ 13 (-53.57%)
Mutual labels:  starter-kit
create-next-stack
Create Next Stack is a website and CLI tool used to easily set up the boilerplate of new Next.js apps.
Stars: ✭ 149 (+432.14%)
Mutual labels:  starter-kit
react-native-ultimate-starter
A React Native Ultimate Starter - react-navigation v5 + redux-toolkits + dark and light theme and more.
Stars: ✭ 16 (-42.86%)
Mutual labels:  starter-kit
nextjs-landing-starter
Build your landing site based on Next.JS in minutes 🚀
Stars: ✭ 59 (+110.71%)
Mutual labels:  starter-kit
browser-extension
Browser Extension Template with ESbuild builds, support for React, Preact, Typescript, Tailwind, Manifest V3/V2 support and multi browser build including Chrome, Firefox, Safari, Edge, Brave.
Stars: ✭ 535 (+1810.71%)
Mutual labels:  starter-kit
scaffold-command
Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
Stars: ✭ 149 (+432.14%)
Mutual labels:  wp-cli
gw-starter-kit
PEPELAC - Современный инструментарий для вёрстки и создания статичных сайтов с использованием Webpack
Stars: ✭ 30 (+7.14%)
Mutual labels:  starter-kit
wp-cli-seed-command
WP CLI Seed Command is extension for WP-CLI to seed database with sample data
Stars: ✭ 20 (-28.57%)
Mutual labels:  wp-cli

WordPress project creation helper Latest Stable Version

This repository is an empty wordpress project that can be used to start a new website. It also contains some tools to help project industrialisation (deployment, testing, content manipulation...).

Create a new project

To start a new project using this barebone one, you just need to run :

composer create-project chstudio/wordpress-project [path] [version]
  • [path] is the path to the installation directory, if not defined, a wordpress-project folder will be created in your current path.
  • [version] is the version of the project to use when installing, if not defined, the more recent stable is used, else you can use : dev-master, v0.0.0, ...

You can also use a simple git clone :

git clone https://github.com/CHStudio/wordpress-project.git

Configuration

To configure database credentials and all the others settings, you can rely to command parameters or create a specific wp-cli.local.yml file at project root.

You must check the WP-CLI configuration handbook for more details.

Example of local configuration :

path: public/wp-cms
color: true

core install:
  title: "WordPress Project !"
  url: http://wordpress-project.dev
  admin_user: stephane
  admin_email: [email protected]

core config:
  dbuser: root
  dbpass: mypass
  dbname: my_database
  extra-php: |
    define( 'WP_DEBUG', true );
    define( 'WP_POST_REVISIONS', 50 );

Beware, never add your wp-cli.local.yml file to Git, it may contains sensitive information.

Installation

This project rely on WP-CLI to perform common tasks.

To install your local environment you must run the following commands :

bin/wp core download
bin/wp core config
bin/wp core install
mv public/wp-cms/wp-config.php public

If your local configuration is not defined, you must pass all the required parameters. You can get more details by running --help flag on each command (will display parameters and command description).

If you haven't defined it, the core install will prompt the generated administrator password, you'll be asked to change it after your first admin panel login.

The last one moves the generated configuration file to your project public root. It's mandatory to use the public/wp-content folder as code container.

When the execution has succeded, you can access your local installation.

Philosophy

You can review some details about this project philosophy here (french) : http://www.24joursdeweb.fr/2014/comment-bien-versionner-son-site-wordpress-avec-git-et-github/

A presentation was made at the first WordCamp in Lyon (france). You can review the video or the slides.

Contributing

We welcome everyone to contribute to this project. Below are some of the things that you can do to contribute.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].