Please note that this is primarily a personal project, but it may be used/forked if it is of any use to anyone.
Use the correct version of node (I suggest to use nvm)
nvm use
Install dependencies
npm i
Set up the environment vars. Copy the .env.example
to .env
and fill in the necessary data. Todoist api key (for development usage) can be retrieved by logging in to todoist, go to settings > integrations > Developer. There you can find you API token.
The base url of the ITS page is just the url without the trailing /
.
Start the project
npm start
Set the docker url or tag in the .env
file, i.e. ghcr.io/youruser/yourpackage
.
Building
npm run docker:build
Pushing
npm run docker:push
If you are running the project inside Docker, make sure to set the correct timezone. Docker uses UTC by default, but it can be changed by setting the TZ
environment variable as desired. For example Europe/Amsterdam
.