Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
Go to file
2021-01-20 13:52:25 -08:00
.github/workflows Stamp edition and build number 2021-01-19 14:10:14 -08:00
.vscode Fix Go integration tests 2021-01-05 19:47:18 -08:00
linux More work on auth 2020-12-04 11:28:35 +01:00
mac cleanup mac project 2021-01-19 12:25:28 -08:00
server Local server on unix port, admin set password 2021-01-20 13:52:25 -08:00
webapp Show error message if unable to load shared board 2021-01-20 10:33:04 -08:00
website Website: update name 2021-01-11 11:33:53 -08:00
win Merge remote-tracking branch 'origin/main' into auth 2021-01-11 13:56:26 +01:00
.editorconfig
.gitignore Remove now invalid readonly board test 2021-01-14 11:56:02 -08:00
config.json Local server on unix port, admin set password 2021-01-20 13:52:25 -08:00
Makefile make ci for check-in tests 2021-01-20 09:55:36 -08:00
README.md Update readme 2021-01-20 10:01:32 -08:00

mattermost-octo-tasks

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 "octo" 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/Tasks.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/tasks-app
  • Windows
    • make win-app
    • run win/dist/tasks-win.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