π οΈ 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