Installation¶
dictpress requires Postgres ⩾ v10.
Pre-built binary¶
- Download the latest release and extract the binary.
./dictpress new-configto generate config.toml. Then, edit the file../dictpress installto install the tables in the Postgres DB.- Run
./dictpressand 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 clonethe latest tagged release or the bleeding edgemasterbranch from the repository. Eg:git clone git@github.com:knadh/dictpress.git -
cdinto the dictpress directory and runmake dist. This compiles thedictpressbinary.
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.