ficlatte / main

Ficlatté website main code
GNU Affero General Public License v3.0
2 stars 2 forks source link

Create a dummy database import for a fresh install #46

Open stitzelj opened 6 years ago

stitzelj commented 6 years ago

I'm realizing I need to create a small .sql file to import into the database if someone is doing a fresh install, because the code as written depends on there being data there in order to load without errors. I also need to write some exception handling that will work around those same errors and load the site anyway if someone forgets to load the data or doesn't have access to it for some reason. It's a low-priority item, but I'm going to create a ticket here for it anyway as a reminder to myself to clean this up a bit.

ethel-t-frog commented 6 years ago

I've run into the same problem myself a couple of times. I've added a bit of tweaking such that the site should load even with an empty database. I'll close this ticket once I've uploaded it.