Skip to content

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:

  1. Install a fresh copy of WordPress using the Nebula framework
  2. Install the Pulsar theme
  3. Install other plugins that are part of our standard website configuration
  4. Preconfigure WordPress and the installed plugins to our preferences
  5. 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.

bash
wp eighteen73 create-site foobar

If you need to install the project outside of the current directory you can specify a full path.

bash
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.

bash
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.

bash
wp eighteen73 create-site foobar --multisite

Please also refer to this page for extra information about Nebula's multisite configuration.