nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

Add seeding workflow

Open mbrodala opened this issue 8 years ago • 1 comments
trafficstars

A very useful addition to Nanobox would be a "seeding workflow". This can be used for the following scenarios:

  • A developer starts working on an existing project
  • An environment is launched on a CI for acceptance tests

In these (and possibly more) cases seeding is essential to e.g. fill a database, generate assets, etc.

This is the only thing which prevents "Yes, just nanobox run after cloning and start hacking." from my POV. ;-)

Pagodabox had the Boxfile.install which could be used to achieve this but it actually boils down to manual work in the end. Especially for the usecase "fill database" the knowledge of Nanobox wrt the app config (data containers, environment variables, etc.) could be used to e.g. automatically pull a DB dump from production into development.

mbrodala avatar Nov 21 '16 10:11 mbrodala

This is an interesting idea. We'll definitely kick around some ideas.

Thanks @mbrodala

tylerflint avatar Nov 21 '16 17:11 tylerflint