purescript / registry-dev

Development work related to the PureScript Registry
https://github.com/purescript/registry
97 stars 80 forks source link

Add Nix build for the server #618

Closed thomashoneyman closed 1 year ago

thomashoneyman commented 1 year ago

This integrates a very simple build of the registry server, integrated with purs-backend-es, which is suitable for use for e.g. deploying to a NixOS server or running locally. We can do a lot more with these builds, but I wanted to get something minimal up to start. I've also set up Garnix so we can get fast Nix builds in CI.

Ultimately, I think we should move all of our Nix scripts to be actual derivations which can be built by Garnix, and I think we should include spago test in our Flake checks so that's also run by Garnix. Then we can stop using GitHub Actions for our test suite (it's so slow).

We'll continue to use GitHub Actions to run the importer daily and to serve as the "registry api".

thomashoneyman commented 1 year ago

Closing in favor of #619.