Install the resource
2. Install the resource
- Drop the
ph-documentsfolder into yourresources/tree. - Add it to
server.cfg, after its dependencies:
ensure oxmysql
ensure ox_lib
ensure qbx_core # or qb-core, or es_extended
ensure ox_inventory # or ph-inventory / qs-inventory / qb-inventory
ensure ox_target # optional, see Config.Interaction
ensure ph-documents
No SQL import is required. The three tables are created on first start with CREATE TABLE IF NOT EXISTS. sql/install.sql is provided only if you prefer to create them by hand or need to review the schema first.
Tables created: ph_documents_templates, ph_documents, ph_documents_printers (renameable via Config.Tables).