1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
Go to file
2021-03-01 11:55:54 -08:00
.github/workflows build-win-wpf: Add msbuild to path 2021-03-01 11:55:54 -08:00
.vscode Fix indentation 2021-02-10 10:13:04 -08:00
build Add binary license file 2021-01-25 12:46:03 -08:00
import Import from Notion 2021-02-22 10:58:50 -08:00
linux Move single-user-token to environment var 2021-02-11 10:13:17 -08:00
mac Move single-user-token to environment var 2021-02-11 10:13:17 -08:00
server Windows WPF / UWP app 2021-03-01 11:36:36 -08:00
webapp Store fileId for image blocks instead of url 2021-02-23 11:59:32 -08:00
website Website: Download links 2021-02-04 10:41:30 -08:00
win Win: Log error 2021-02-11 10:26:14 -08:00
win-wpf Windows WPF / UWP app 2021-03-01 11:36:36 -08:00
.editorconfig Adding initial coding style checking 2020-10-15 01:02:41 +02:00
.gitignore Add Swagger / OpenAPI docs 2021-02-17 11:29:20 -08:00
app-config.json Fix indentation 2021-02-10 10:13:04 -08:00
config.json Fix indentation 2021-02-10 10:13:04 -08:00
LICENSE.txt License product name 2021-01-26 13:55:35 -08:00
Makefile Windows WPF / UWP app 2021-03-01 11:36:36 -08:00
NOTICE.txt Add webapp/NOTICE.txt 2021-01-27 12:03:39 -08:00
README.md Update readme 2021-02-03 15:27:22 -08:00
server-config.json Rename admin local socket 2021-02-01 10:31:06 -08:00

Focalboard

Focalboard

Focalboard is an open source project management app for individuals and teams. It comes in two editions:

  • Personal Desktop: A stand-alone desktop app for your todos and personal projects
  • Personal Server: A self-hosted server for your team to collaborate

The same server binary powers both editions.

Building the server

Please refer to the Developer's Tips & Tricks for more detailed steps. Here's a summary:

First, install basic dependencies:

  • Go 1.15+
  • Node 10+ and npm
  • Mingw64 on Windows
make prebuild
make

Running and testing the server

To start the server, run ./bin/focalboard-server

Server settings are in config.json.

Open a browser to http://localhost:8000 to start.

Building and running standalone desktop apps

You can build standalone apps that package the server to run locally against SQLite:

  • Mac:
    • make mac-app
    • run mac/dist/Focalboard.app
    • Requires: macOS Catalina (10.15)+, Xcode 12+.
  • Linux:
    • Install webgtk dependencies
      • sudo apt-get install libgtk-3-dev
      • sudo apt-get install libwebkit2gtk-4.0-dev
    • make linux-app
    • run linux/dist/focalboard-app
    • Tested with: Ubuntu 18.04
  • Windows:
    • Open a git-bash prompt
    • Install win-node-env npm install -g win-node-env
    • make win-app
    • run win/dist/focalboard.exe
    • Requires: Windows 10

Cross-compilation currently isn't fully supported, so please build on the appropriate platform. Refer to the GitHub Actions workflows (build-mac.yml, build-win.yml, build-ubuntu.yml) for the detailed list of steps on each platform.

Unit tests

Before checking-in commits, run: make ci, which is simlar to the ci.yml workflow and includes:

  • Server unit tests: make server-test
  • Webapp eslint: cd webapp; npm run check
  • Webapp unit tests: cd webapp; npm run test
  • Webapp UI tests: cd webapp; npm run cypress:ci