Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 975 Bytes

File metadata and controls

9 lines (5 loc) · 975 Bytes

Fortunes implementation using Remix

This is an implementation of the TechEmpower Fortunes benchmark using Remix

Run the app by executing npm run build && npm start in the app root.

The app requires a Postgres database based on the TechEmpower Postgres Docker image. Clone the TechEmpower repo, navigate to ./toolset/databases/postgres, and run docker build -f .\postgres.dockerfile -t postgres_te . to build a container from that image, then docker run -p 5432:5432 --name postgres_te postgres_te.

The Dockerfile will build a standalone image (based on node-alpine) for running the app on port 3000. Note that in docker the host name for the Postgres database is set to postgres_te.