- 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 npm install
will download all the required packagesmake build
to create the builds- Find the built apps in the
release
folder
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 build
from the root app directory:
git clone [email protected]:Automattic/wp-desktop.git
cd wp-desktop
npm install
make build