Set up a Flux-environment