Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically run arion in devshell shellhook #264

Open
hmajid2301 opened this issue Nov 2, 2024 · 0 comments
Open

Automatically run arion in devshell shellhook #264

hmajid2301 opened this issue Nov 2, 2024 · 0 comments

Comments

@hmajid2301
Copy link

Hi,

Apologies if this is a really obvious question. But I am currently trying to set it up such that when you load a devshell i.e. with nix develop it automatically starts the "containers" behind the scenes. Mainly so developers don't have to think to even start the containers, it happens automatically.

Currently, I have it working like this:

 shellHook = ''
      export GOOSE_MIGRATION_DIR="./db/migrations"
      export TEMPL_EXPERIMENT=rawgo
      ${pre-commit-check.shellHook}
      arion up -d
    '';
 

Is there a better way I should do it?

Thanks

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

No branches or pull requests

1 participant