Reference · the tools · environments
seed_environment
Run seed on an existing environment
What it does
Run the environment's seed script now, inside the app container, from blank. Normally seed runs once, when an environment is created; this is for a seed written after the environment existed -- /bettik-try creates from empty and then writes the real one -- or a deliberate re-seed. It does not wipe anything first: a seed that clones or creates must cope with what is already there. Say what it will do before calling it. (formerly seed_bundle)
What it needs to know
- environment_id
- The environment.
- box · optional
- Which box: its name and account, "home.frank" or "jordan.northwind", or just "home" when only one of your boxes is called that. Omit it for your current box (switch_box changes it; list_boxes says which it is).
- session_box · optional
- The box this session runs on, if it runs on one of yours: its name, as the on-box instructions give it ("frankh90.hemlane"). With it, a call that names no box is checked against your current box.
Where it lands
On one of your boxes: the one named in box, or your default box when none is named.