Skip to content

Instantly share code, notes, and snippets.

@alfonsodev
Created July 8, 2016 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alfonsodev/1aa4a8a475a3d377323d6bf2f6e999f7 to your computer and use it in GitHub Desktop.
Save alfonsodev/1aa4a8a475a3d377323d6bf2f6e999f7 to your computer and use it in GitHub Desktop.
# prerequisites:
sudo su
yum groupinstall "Development Tools" -y
yum install git gmp-devel postgresql-devel zlib-devel -y
# installing stack:
curl -sSL https://get.haskellstack.org/ | sh
# Download and build postgrest.
git clone https://github.com/begriffs/postgrest.git
cd postgrest
stack build --install-ghc --allow-different-user
sudo stack install --allow-different-user --local-bin-path /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment