- Check that you have all prerequisites (Git, Node, NPM). See below for more details.
- Clone this repository locally.
git submodule initgit submodule update
- Create a
calypso/config/secrets.jsonfile and fill it with secrets npm installwill download all the required packagesmake buildto create the builds- Find the built apps in the
releasefolder
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
nodeandnpm. - Git. Try the
gitcommand from your terminal, if it's not found then use this installer. - The repository also uses
maketo orchestrate compiling the JavaScript, running the server, and several other tasks. On Mac OSX, the easiest way to installmakeis 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 git@github.com:Automattic/wp-desktop.git
cd wp-desktop
npm install
make build