Clone this wiki locally

Here are the aliases I use to build and rebuild Bricolage as I hack on it, run tests, etc. The trick is that I essentially use make dev with different combinations of environment variables to get the build I want. The nice thing about make dev is that the lib and conf directories are aliased to the Git checkout, and it handles all of the database building stuff. Together with the environment variable stuff added to 1.11.x, I can build and rebuild without any prompts.

So they just vary the version of Apache, the RDBMS, and the SSL support. They all run for me without any prompts, so I can rebuild Bricolage in about a minute if I want to switch databases or Apache Web servers (as when I’m running Unit tests and want to make sure that everything passes in all environments). Be warned, however, that these aliases always drop and recreate the database, so if you have test data you want to keep, you’ll need to dump and restore the database yourself.