Skip to main content

πŸ› οΈ Installation

There are two versions of liveMock, one is a desktop application and the other is a web service. You can use either version, but I recommend using the desktop version.

Installation of the desktop version​

To install the desktop version, simply download from the release page. It supports both macOS and Windows operating systems.

Installation of the web service version​

1.This project uses Yarn Workspaces, so you need to enable corepack.​

corepack enable

1.clone the project​

git clone https://github.com/alinGmail/LiveMock.git

2.install dependencies​

cd LiveMock
yarn install
tip

If you are in China, you can set the ELECTRON_MIRROR environment variables to https://npmmirror.com/mirrors/electron/

3.build the forntEnd code​

yarn run web-build

4.run the project​

yarn run web-start

the server will running at http://localhost:9002