Download the PHP package chstudio/wordpress-project without Composer
On this page you can find all versions of the php package chstudio/wordpress-project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chstudio/wordpress-project
More information about chstudio/wordpress-project
Files in chstudio/wordpress-project
Package wordpress-project
Short Description A sample initialization project for WordPress website
License Apache-2.0
Informations about the package wordpress-project
WordPress project creation helper
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 :
[path]
is the path to the installation directory, if not defined, awordpress-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
:
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 :
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 :
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.
- Read our contributing guide.
- Fork us and request a pull to the develop branch.
- Submit bug reports or feature requests to GitHub.