Skip to content

Conversation

@jtojnar
Copy link
Owner

@jtojnar jtojnar commented Jan 7, 2025

This will allow us to use in-project MySQL database instance.

@jtojnar jtojnar force-pushed the devenv branch 4 times, most recently from 3f6aac3 to d51ca14 Compare January 7, 2025 08:58
This will allow us to use in-project MySQL database instance.

- Started with `nix flake init --template github:cachix/devenv` as per https://devenv.sh/guides/using-with-flakes/
- Using devenv-nixpkgs https://devenv.sh/blog/2024/03/20/devenv-10-rewrite-in-rust/#devenv-nixpkgs
- Remove flake-compat as we switched to `use flake`.
This is somewhat equivalent to what `www/.htaccess` does.
Now testing is as simple as

    ln -sf $PWD/.github/workflows/private.neon app/Config/
    devenv up

The development HTTP server will be running on http://localhost:8084/

TODO: Re-evaluate HTTP port selection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants