update: instructions for prebuild for dev setup (#3245)

Signed-off by: imasdekar <imasdekar@disroot.org>
This commit is contained in:
Ishan Masdekar 2022-06-25 02:10:57 +05:30 committed by GitHub
parent 853c2950f5
commit b7ac9aea52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,18 +74,27 @@ You can build standalone apps that package the server to run locally against SQL
* **Windows**: * **Windows**:
* *Requires Windows 10, [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/) 10.0.19041.0, and .NET 4.8 developer pack* * *Requires Windows 10, [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/) 10.0.19041.0, and .NET 4.8 developer pack*
* Open a `git-bash` prompt. * Open a `git-bash` prompt.
* Run `make prebuild`
* The above prebuild step needs to be run only when you make changes to or want to install your npm dependencies, etc.
* Once the prebuild is completed, you can keep repeating the below steps to build the app & see the changes.
* Run `make win-wpf-app` * Run `make win-wpf-app`
* Run `cd win-wpf/msix && focalboard.exe` * Run `cd win-wpf/msix && focalboard.exe`
* **Mac**: * **Mac**:
* *Requires macOS 11.3+ and Xcode 13.2.1+* * *Requires macOS 11.3+ and Xcode 13.2.1+*
* `make mac-app` * Run `make prebuild`
* `open mac/dist/Focalboard.app` * The above prebuild step needs to be run only when you make changes to or want to install your npm dependencies, etc.
* Once the prebuild is completed, you can keep repeating the below steps to build the app & see the changes.
* Run `make mac-app`
* Run `open mac/dist/Focalboard.app`
* **Linux**: * **Linux**:
* *Tested on Ubuntu 18.04* * *Tested on Ubuntu 18.04*
* Install `webgtk` dependencies * Install `webgtk` dependencies
* `sudo apt-get install libgtk-3-dev` * Run `sudo apt-get install libgtk-3-dev`
* `sudo apt-get install libwebkit2gtk-4.0-dev` * Run `sudo apt-get install libwebkit2gtk-4.0-dev`
* `make linux-app` * Run `make prebuild`
* The above prebuild step needs to be run only when you make changes to or want to install your npm dependencies, etc.
* Once the prebuild is completed, you can keep repeating the below steps to build the app & see the changes.
* Run `make linux-app`
* Uncompress `linux/dist/focalboard-linux.tar.gz` to a directory of your choice * Uncompress `linux/dist/focalboard-linux.tar.gz` to a directory of your choice
* Run `focalboard-app` from the directory you have chosen * Run `focalboard-app` from the directory you have chosen
* **Docker**: * **Docker**: