create-site
: Create a new website
WARNING
While our other tools are suitable for all developers, this particular command is very opinionated and produces an installation tailored to our own preferences.
We hope you find it useful but you may prefer to set up your website without it.
This site installation command will:
- Install a fresh copy of WordPress using the Nebula framework
- Install the Pulsar theme
- Install other plugins that are part of our standard website configuration
- Preconfigure WordPress and the installed plugins to our preferences
- Start a fresh Git repository
It will interactively ask for installation details (e.g. database credentials) as needed.
Install a new website
When setting up a new website you need to specify a folder for the project. Typically this will be a new directory underneath your current location.
wp eighteen73 create-site foobar
If you need to install the project outside of the current directory you can specify a full path.
wp eighteen73 create-site /home/joebloggs/foobar
Installing with WooCommerce
To pre-install WooCommerce with the new project you should add --woocommerce
to the command.
wp eighteen73 create-site foobar --woocommerce
Installing a multisite
To configure the new project as a multisite network you should add --multisite
to the command. You will be prompted for extra information during installation.
wp eighteen73 create-site foobar --multisite
Please also refer to this page for extra information about Nebula's multisite configuration.