< 182022-11-19⋎20 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
13:48evered[m]I am glad to hear the team caught it in time. 🐧
16:53symbioquine[m]paul121: On the last dev call I think I saw your development testing process involved doing site-install to get back to a clean state... I've been doing the more nuclear option of shutting down docker deleting all the data and either restoring from a backup or using a fresh install. Have you found that simply doing a site-install provides sufficient insulation between the old (maybe broken) site and whatever you're doing next?
17:09mstenta[m]`drush site-install` will drop all tables in the database and do a fresh drupal install (like visiting `install.php` in the browser)
17:09mstenta[m]it won't touch existing files though (except settings.php which it writes to)
17:10mstenta[m]so eg: uploaded files won't be deleted by it
17:11mstenta[m]I think this'll work:
17:11mstenta[m]`sudo docker-compose exec -t www drush site-install -y --db-url=farm:farm@db/farm --account-pass=admin'`
17:13mstenta[m] * this is what the drush command looks like:
17:13mstenta[m]`drush site-install -y --db-url=farm:farm@db/farm --account-pass=admin'`
17:13mstenta[m]i have a bash alias for "starting fresh" in my local dev env
17:14mstenta[m] * this is what the drush command looks like:
17:14mstenta[m]`drush site-install -y --db-url=farm:farm@db/farm --account-pass=admin`
17:48paul121[m]Yep, drush site-install should be sufficient for testing a "fresh install" ! At least I don't think I have run into issues
17:49paul121[m]Sometimes configuring the instance with test data and taking a snapshot is convenient. So there is a restore point if something breaks but I don't find myself doing that lately
17:50symbioquine[m]What kind of snapshot do you mean?
17:50paul121[m]<mstenta[m]> "so eg: uploaded files won't be..." <- This shouldn't cause problems tho, correct? I think my local has various files in the private files directory but a fresh install doesn't know about them so I don't think there is an issue. Just messy filesystem maybe :-)
17:51paul121[m]Oh, by snapshot I mean exporting the database. I suppose if you were testing something related to files you want to make sure they are not deleted either

< 182022-11-19⋏20 >