⚡ Local Large Model For Desktop UI ⚡
Set up the development environment according to the guide below.
| Dependent | Windows | MacOS |
|---|---|---|
| NodeJS | 18.13.0 | 18.13.0 |
| Python | 3.10.+ | 3.10.+ |
| Visual Studio 2019 | ✔ |
When developing on the Windows platform, check the
Desktop development with C++option when installingVisual Studio 2019.
1、 Install Yarn
npm install --global yarn2、 Set up the software repository
yarn config set registry https://registry.npmmirror.com
yarn config set ELECTRON_MIRROR "https://registry.npmmirror.com/-/binary/electron/"
yarn config set "strict-ssl" false -g3、Install Electron
yarn global add electron@22.2.03、Install Node-gyp
yarn global add node-gyp@8.4.1Doreadme.mdwnload
1、 Download the source code and enter the root directory of the project.
git clone git@github.com:makeryangcom/NodeChain.git
cd NodeChain2、Initialize project dependencies
yarnyarn rebuildyarn buildyarn devCompile and package the project as a desktop application.
# Windows
yarn win64
# MacOS
yarn mac
# Linux
yarn linuxhttps://github.com/ollama/ollama