- Check that you have all prerequisites (Git, Node, NPM). See below for more details.
- Clone this repository locally.
git submodule init
git submodule update
- Create a calypso/config/secrets.json file and fill it with secrets
make run
to build and run the app
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
andnpm
. - 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 installmake
is through Apple's Command Line Tools for Xcode (requires free registration).
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.