Installation¶
dictpress requires Postgres ⩾ v10.
Pre-built binary¶
- Download the latest release and extract the binary.
./dictpress new-config
to generate config.toml. Then, edit the file../dictpress install
to install the tables in the Postgres DB.- Run
./dictpress
and visithttp://localhost:9000/admin
.
See Importing data to populate the dictionary database from CSVs.
Compiling from source¶
Make sure go
is installed on your system.
-
Download or
git clone
the latest tagged release or the bleeding edgemaster
branch from the repository. Eg:git clone git@github.com:knadh/dictpress.git
-
cd
into the dictpress directory and runmake dist
. This compiles thedictpress
binary.
Upgrading¶
Some releases may require schema changes to the existing database. If a release prompts for an upgrade, run dictpress upgrade
to apply the necessary database migrations.