In order to build Taskcafe, you will need
Building
Clone the repository
First, let's clone the repository:
Install Golang
Next, we will need to make sure Golang is installed.
You can follow the install instructions or run the following:
Install NodeJS
NodeJS is used to build the static assets for the front end. We recommend installing it through nvm
. Install the latest NodeJS version via nvm
Install yarn
Install yarn
with the following commands:
Build the backend
Next we need to build the binary. This project uses Mage for its build tool.
To build the final binary, run:
The binary can be found in the dist folder.
Running
Now we need to installl a database & configure Taskcafe.
Install Postgres
To install the Postgres database, run:
Configure
Next, we need to let Taskcafe know how to connect to the database.
The available configuration methods can be found here.
Once the configuration is filled out, we need to run database migrations next by running
Now you can run the web interface by running taskcafe web
.
If you're running Taskcafe on your local machine, you should be able to visit it by going to http://localhost:3333/