1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-12 09:04:14 +02:00
Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
Go to file
2021-01-27 10:14:09 -08:00
.github/workflows Linux: Product name 2021-01-26 10:48:32 -08:00
.vscode Fix Go integration tests 2021-01-05 19:47:18 -08:00
build Add binary license file 2021-01-25 12:46:03 -08:00
linux Product name 2021-01-26 14:13:46 -08:00
mac Mac App support folder 2021-01-26 15:28:38 -08:00
server active user count 2021-01-27 10:01:24 -08:00
webapp Merge pull request #34 from asaadmahmood/ui-updates 2021-01-27 10:14:09 -08:00
website Update screenshot 2021-01-26 16:04:44 -08:00
win Product name 2021-01-26 14:13:46 -08:00
.editorconfig Adding initial coding style checking 2020-10-15 01:02:41 +02:00
.gitignore Archiver file extension 2021-01-26 11:23:20 -08:00
app-config.json localOnly config flag 2021-01-26 15:29:13 -08:00
config.json localOnly config flag 2021-01-26 15:29:13 -08:00
LICENSE.txt License product name 2021-01-26 13:55:35 -08:00
Makefile Cleanup prebuild 2021-01-26 14:15:04 -08:00
NOTICE.txt Update notice.txt 2021-01-26 14:13:33 -08:00
README.md Update screenshot 2021-01-26 16:04:44 -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

make prebuild
make

Currently tested with:

  • Go 1.15.2
  • MacOS Catalina (10.15.6)
  • Ubuntu 18.04
  • Windows 10

The server defaults to using SQLite as the store, but can be configured to use Postgres:

  • In config.json
    • Set dbtype to "postgres"
    • Set dbconfig to the connection string (which you can copy from dbconfig_postgres)
  • Create a new "focalboard" database with psql
  • Restart the server

Running and testing the server

To start the server, run ./bin/octoserver

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 and a development signing certificate.
  • 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
  • Windows
    • 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