This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@studiometa/create-wordpress-project

1.0.0-beta.12 • Public • Published

Create WordPress Project

NPM Version Dependency Status devDependency Status

A generator to kickstart your WordPress project in a few seconds!

Usage

Install

Run the following command to bootstrap a WordPress project using Studio Meta's tools and workflows:

npx @studiometa/create-wordpress-project project-name

Follow the prompt steps to complete the project creation.

To get started

  • Go to your project folder
  • Create a .env file based on .env.example
  • Generate the salts bin/get-wp-salts.sh and put them in the .env file
  • Install composer dependencies composer install
  • Create a database with WPCLI ./vendor/bin/wp db create (this command is using the variables filled in .env file)
  • Install WordPress with WPCLI ./vendor/bin/wp core install --url="<PROJECT_URL>" --admin_user="<ADMIN_USER>" --admin_email="<ADMIN_EMAIL>" --title="<SITE_TITLE>
  • Install NPM dependencies npm i
  • Have fun !

Documentation

This tool will generate a WordPress project managed by Composer and Webpack. See the readme.md file in the template folder for a more detailed documentation.

Contributing

This project's branches are managed with Git Flow, every feature branch must be merged into develop via a pull request.

TODO

  • [ ] Test if Wordpress loads plugins in a subfolder of wp-content/plugins/
  • [ ] Test if Wordpress loads mu-plugins in a subfolder of wp-content/mu-plugins/
  • [ ] Test if Wordpress loads themes in a subfolder of wp-content/themes/
  • [ ] Use a child theme

Package Sidebar

Install

npm i @studiometa/create-wordpress-project

Weekly Downloads

0

Version

1.0.0-beta.12

License

MIT

Unpacked Size

1.72 MB

Total Files

124

Last publish

Collaborators

  • jeremiewerner