1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-12 09:04:14 +02:00
focalboard/mac
Chen-I Lim 2b3ed75b3b
Add readme for Mac and Win apps (#2757)
* Add readme for Mac and Win apps

* chore(Makefile): improve xcode error feedback

Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
2022-04-12 09:20:36 -07:00
..
Focalboard update to v0.16.0 (#2438) 2022-03-02 15:08:40 -07:00
Focalboard.xcodeproj Fix #2333. Handle export in Mac App (#2334) 2022-02-14 19:57:44 -08:00
Focalboard.xcworkspace Mac: Product name 2021-01-26 10:32:36 -08:00
FocalboardTests Product name 2021-01-26 11:13:05 -08:00
FocalboardUITests Product name 2021-01-26 11:13:05 -08:00
export.plist Basic Mac App 2020-10-26 12:45:40 -07:00
README.md Add readme for Mac and Win apps (#2757) 2022-04-12 09:20:36 -07:00

Focalboard Mac Personal Desktop

This folder contains the code for the Mac Personal Desktop. It packages a lightweight Swift Mac App with the Mac build of the server, and the webapp. The server is run in a single-user mode.

Debugging in Xcode

Open Focalboard.xcworkspace in Xcode to debug it.

To debug the client webapp:

  1. Run the Focalboard desktop app from Xcode
  2. Open Safari
  3. Enable Safari's [developer tools]
  4. Select the Focalboard app from the develop menu, under your computer's name

Testing the single-user server

You can also run the server in single-user mode and connect to it via a browser:

  1. Run FOCALBOARD_SINGLE_USER_TOKEN=testtest make watch-single-user
  • This runs the server with the -single-user flag
  • Alternatively, select Go: Launch Single-user Server from VSCode's run and debug options
  1. Open a browser to http://localhost:8000
  2. Open the browser developer tools to Application \ Local Storage \ localhost:8000
  3. Set focalboardSessionId to testtest
  4. Navigate to http://localhost:8000