Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.5 KB

install.md

File metadata and controls

33 lines (22 loc) · 1.5 KB

Installing WordPress.com for Desktop

Quick Summary of Steps

  1. Check that you have all prerequisites (Git, Node, NPM). See below for more details.
  2. Clone this repository locally.
  • git submodule init
  • git submodule update
  1. Create a calypso/config/secrets.json file and fill it with secrets
  2. make run to build and run the app

Prerequisites

To be able to clone the repo and run the application you need:

  • Node.js and NPM installed. Here's a handy installer for Windows, Mac, and Linux. On Mac OSX using brew is the easiest way to install node and npm.
  • Git. Try the git command from your terminal, if it's not found then use this installer.
  • The repository also uses make to orchestrate compiling the JavaScript, running the server, and several other tasks. On Mac OSX, the easiest way to install make is through Apple's Command Line Tools for Xcode (requires free registration).

Installing and Running

Clone this git repo to your machine via the terminal using the git clone command and then run make run from the root app directory:

$ git clone git@github.com:Automattic/wp-desktop.git
$ cd wp-desktop
$ make run

The make run command will install any npm dependencies and start the development server.