You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
$ initdb --locale en_US.UTF-8 -E UTF8 -D '/usr/local/var/postgres'# can be other directory
$ createuser -s -e -d hathverse
$ createdb hathverse -U hathverse
$ postgres -D /usr/local/var/postgres &# or systemd# add some data:# (probably this should be done after hathverse has been started# otherwise you'll find some error messages about missing table.)
$ cat init.sql | psql hathverse -U hathverse
# in hathverse's directory:
$ stack exec hathverse
Setup docker image
# on mac:
$ docker-machine start
# or on linux with systemd:
$ sudo systemctl start docker
# build the docker image (need to download ~300MB and take a while):
$ docker build -t scturtle/hathverse:alpine .# test with cmd:
$ docker run -it --rm scturtle/hathverse:alpine