Follow these steps to brew the latest image of Moosync from our github repository with all the newest features and bug fixes.

Requirements

Setting up the project

Clone the project from github

git clone https://github.com/Moosync/moosync-app

Downloading dependencies

Use yarn or npm to install dependencies inside the project root

yarn install

Setting up environment variables

  • Add appropriate values inside sample.config.env
  • Rename sample.config.env to config.env

Post installation

Native dependencies need to be compiled for electron separately. This process is done automatically. Incase that does not happen, you can run,

yarn postinstall

Running in development environment

To serve the app, run

yarn electron:serve

Building a production build

Before generating a production build, take a look at vue.config.js and change the builder options as required.

To generate a production optimized version run

yarn electron:build