LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
401 stars 240 forks source link

full-install.sql missing? #355

Open lightweight opened 5 months ago

lightweight commented 5 months ago

I have been trying to do an install, but note that the database_schema/full-install.sql file is missing (and has been for a couple versions)... is it somehow meant to be assembled? I can't see any mention of it. Am I missing something?

JohnVillalovos commented 5 months ago

I use the "web install method".

Go to http://example.com/Web/install Of course replace example.com with your server info.

But I do see in the latest release zip file they have: database_schema/full-install.sql

I downloaded the release from: https://github.com/LibreBooking/app/releases/tag/2.8.6.1

I think the full-install.sql file is created when making a release. It isn't in the cloned repository.

JohnVillalovos commented 5 months ago

I'm not 100% sure but I think the file is created by concatenating create-schema.sql & create-data.sql together

https://github.com/LibreBooking/app/blob/f64538c0eb99a4859a8ab9e9459400925df94029/build.xml#L143-L145

lightweight commented 5 months ago

Many thanks for your help @JohnVillalovos - I used those two files to create my DB in any case, and my instance (running via Docker-Compose but not using the provided LibreBooking image or recipe) is running with pure Nginx (no Apache) and an Nginx reverse proxy.

JohnVillalovos commented 5 months ago

Glad to hear you got it working @lightweight 👍