hf-new

1.1.14 • Public • Published

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!

Dependencies (9)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i hf-new

    Weekly Downloads

    0

    Version

    1.1.14

    License

    GNU GPLv3

    Unpacked Size

    136 kB

    Total Files

    50

    Last publish

    Collaborators

    • alsojames
    • evangelinepapanicola