π οΈ 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.clone the projectβ
git clone git@github.com:alinGmail/LiveMock.git
2.install dependenciesβ
cd LiveMock
yarn install
tip
If you are within China, you can run the following command before 'yarn install' to set the ELECTRON MIRROR.
yarn config set ELECTRON_MIRROR https://npmmirror.com/mirrors/electron/
3.build the forntEnd codeβ
yarn workspace front-end build
4.run the projectβ
yarn workspace back-end start
the server will running at http://localhost:9002