question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Hasura Server) Windows compile / Windows Docker container

See original GitHub issue

This is a feature / enhancement request. But if it’s currently not possible, but is with relatively easy changes, I would be interested in trying to solve myself.

Summary

Unless I’ve missed something there are no Windows builds or Windows-based containers but I don’t see any reason that it isn’t possible. I’ve tried building myself, and the only apparent error I found was that hs-jose depended on the unix package. However, upon further inspection it seems it only needed that for the unused examples. So I forked hs-jose , removed the examples section from hs-jose’s cabal config, then included my repo into hasura/graphql-engine/server/stack.yaml. Re-ran stack build --fast and while I now get past the planning stage, I still encounter errors when building.

Has there been any thoughts on Windows builds ? Do you see any glaring issues in my procedure? Any advice is appreciated!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
tjadcommented, Nov 13, 2019

With some effort in understanding the project and its tool chain, it is possible to produce a native windows build.

@erichiller Jose shouldn’t be a problem anymore - there’s been a recent update to the dependent regarding that issue.

Only issue I’ve run into so far is with the hasura hs postgres driver, minimal change could fix. Only incompatibility of threadWaitRead that I’ve seen between *nix / windows. Will post updates if any further issues encountered with more extensive use.

windows

5reactions
akhedranecommented, Nov 28, 2019

@tjad could you share your fixes in a forked repo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quickstart with Docker | Hasura GraphQL Docs
This guide will help you get the Hasura GraphQL engine and a Postgres database to store its metadata running as Docker containers using...
Read more >
Run Hasura GraphQL engine using Docker
This guide will help you deploy the Hasura GraphQL engine and a Postgres database to store its metadata using Docker Compose.
Read more >
Get Started with Docker (Hasura & MS SQL Server)
Step 1: Get the docker-compose file​ · Step 2: Run Hasura GraphQL engine​ · Step 3: Open the Hasura console​ · Step 4:...
Read more >
Get Started with Docker (Hasura & Citus - Hyperscale)
Hasura with Docker for Citus - Hyperscale. ... to make sure that your Citus database is reachable from the Hasura docker container on...
Read more >
Server config examples | Hasura GraphQL Docs
If you're working in an environment with Hasura running locally and have no access to internet, you can configure the GraphQL engine to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found