1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/README.md

46 lines
973 B
Markdown
Raw Normal View History

2020-10-08 18:26:05 +02:00
# mattermost-octo-tasks
2020-10-26 21:45:40 +02:00
## Building the server
2020-10-08 18:26:05 +02:00
```
cd webapp
npm install
npm run packdev
cd ..
make prebuild
2020-10-08 18:26:05 +02:00
make
```
Currently tested with:
* Go 1.15.2
2020-10-08 19:01:56 +02:00
* MacOS Catalina (10.15.6)
2020-10-26 21:45:40 +02:00
* Ubuntu 18.04
2020-10-08 19:01:56 +02:00
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
2020-10-08 18:29:48 +02:00
2020-10-26 21:45:40 +02:00
## Running and testing the server
2020-10-08 18:29:48 +02:00
To start the server:
```
./bin/octoserver
```
Server settings are in config.json.
Open a browser to [http://localhost:8000](http://localhost:8000) to start.
2020-10-26 21:45:40 +02:00
## Building and running the macOS app
You can build the Mac app on a Mac running macOS Catalina (10.15.6+) and with Xcode 12.0+. A valid development signing certificate must be available.
First build the server using the steps above, then run:
```
make mac
```
To run, launch mac/dist/Tasks.app