npm.io
1.1.14 • Published 5 years agoCLI

hf-new

Licence
GNU GPLv3
Version
1.1.14
Deps
9
Size
133 kB
Vulns
0
Weekly
0

Hambly Freeman CLI

Running through NPX

  1. Install MySQL server (https://dev.mysql.com/downloads/file/?id=497036) with username "root" and password "password"
  2. Run npx hf-new <project-name>

Installation

  1. Clone this repository.
  2. Open the cloned repository in a terminal.
  3. Run npm install . -g with NodeJS installed.
  4. Install MySQL server (https://dev.mysql.com/downloads/file/?id=497036) with username "root" and password "password"

Ta-da!

Creating a project.

You've done the heavy lifting already. Now it's just a case of running hf-new ProjectName -y.

I highly recommend keeping the project names to alphanumeric only (AKA A-Z0-9).

This'll create a project in your current working directory with WordPress installed.

Running the Server

To start the dev server in future run yarn dev in the project directory.

Building a Theme ZIP

Run yarn build in the project directory, and you should get a ProjectName.zip in the root!