Getting Started
This service is written in Go and does not require any additional dependencies to run.
Storage need PostgreSQL.
Install
Binary
Download the latest release from GitHub
Extract it from archive and before to run, you need to have configuration file.
Configuration
Give the path to the configuration file using CONFIG_FILE environment variable or use default file name calendar.[toml|yaml|yml|json] in the current directory.
yaml
log_level: info
port: 8080
db_type: pgx
db_datasource: postgres://postgres@localhost:5432/postgres?sslmode=disable # default is empty
db_schema: public
migrate:
db_datasource: postgres://postgres@localhost:5432/postgres?sslmode=disable # default is empty
db_type: pgx
db_schema: public
db_table: calendar_migrationsConfiguration migration's connect and database's connect are separated.