From 48b4c0fe14e4e4108c39914c0d3318dcc0018b47 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 18 Jan 2025 11:46:02 -0800 Subject: [PATCH] Create railway.toml --- railway.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 railway.toml diff --git a/railway.toml b/railway.toml new file mode 100644 index 0000000..2cdf95e --- /dev/null +++ b/railway.toml @@ -0,0 +1,16 @@ +[phases.setup] +nixPkgs = [ + "imagemagick", + "ghostscript", # For PDF/PS operations + "pkgconfig", # For gem compilation + "libmagickwand" # ImageMagick C library +] + +[phases.install] +dependsOn = ["setup"] + +[phases.build] +dependsOn = ["install"] + +[start] +cmd = "bin/rails server"