Skip to main content

Rhyolite and gargole-postgresql

In Reflex Unexpected Duplicate (Part 2), I attempted to give a clear explanation of the relationship between Reflex Platform and Obelisk. Another project that should be included in this list is Rhyolite.

Rhyolite is a collection of packages that are commonly used in the development of web-applications. It is added as a dependency to an Obelisk project to make these packages available. Unfortunately, the packages provided are not very well documented. The README says that the packages are listed in the cabal.project file, but I think that the default.nix file is a better reference.

One interesting package is gargoyle-postgresql, which is used to run instances of a PostgreSQL database in a local folder that exposes a Unix domain socket for communication. This provides an easy way to run PostgreSQL during development. Perhaps this will grow on me as I gain more experience with it, but I currently do not find it to be near as versatile as running a postgres container.

Author

Travis Cardwell

Published

Tags
Related Blog Entries