[{"data":1,"prerenderedAt":312},["ShallowReactive",2],{"/docs/jobs/dojjob/setup/installation":3,"/docs/jobs/dojjob/setup/installation-surround":302,"/docs/jobs/dojjob/setup/installation-implemented-suggestions":311},{"id":4,"title":5,"body":6,"description":293,"extension":294,"head":295,"implementedSuggestions":295,"meta":296,"navigation":101,"path":297,"schemaOrg":295,"seo":298,"sitemap":299,"stem":300,"__hash__":301},"docs/1.docs/0.jobs/5.dojjob/2.setup/1.installation.md","Installation",{"type":7,"value":8,"toc":289},"minimark",[9,14,34,37,244,248,277,285],[10,11,13],"h2",{"id":12},"requirements","Requirements",[15,16,17,18,22,23,26,27,30,31,33],"p",{},"Install current versions of ",[19,20,21],"code",{},"sky_base"," and ",[19,24,25],{},"sky_jobs_base"," alongside ",[19,28,29],{},"sky_dojjob",". Start the framework, SQL resource, inventory and configured interaction integrations before the Sky resources. Keep the resource name ",[19,32,29],{}," unchanged.",[15,35,36],{},"Police Job is an optional integration, not a declared startup dependency. Its citizen, vehicle and police-record workflows require a working Police installation when you use those features.",[38,39,40,45,68,72,121,134,138,155,158,162,187,191,203,214,218,229,237,241],"steps",{},[41,42,44],"h3",{"id":43},"place-the-resource","Place the resource",[15,46,47,48,50,51,54,55,54,58,54,61,22,64,67],{},"Copy the deployable ",[19,49,29],{}," folder into your server's resources directory. It contains ",[19,52,53],{},"fxmanifest.lua",", ",[19,56,57],{},"config",[19,59,60],{},"source",[19,62,63],{},"stream",[19,65,66],{},"import.sql",".",[41,69,71],{"id":70},"set-the-start-order","Set the start order",[73,74,80],"pre",{"className":75,"code":76,"filename":77,"language":78,"meta":79,"style":79},"language-cfg shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","add_filesystem_permission sky_base write sky_jobs_base\nadd_filesystem_permission sky_base write sky_dojjob\n\nensure sky_base\nensure sky_jobs_base\nensure sky_dojjob\n","server.cfg","cfg","",[19,81,82,90,96,103,109,115],{"__ignoreMap":79},[83,84,87],"span",{"class":85,"line":86},"line",1,[83,88,89],{},"add_filesystem_permission sky_base write sky_jobs_base\n",[83,91,93],{"class":85,"line":92},2,[83,94,95],{},"add_filesystem_permission sky_base write sky_dojjob\n",[83,97,99],{"class":85,"line":98},3,[83,100,102],{"emptyLinePlaceholder":101},true,"\n",[83,104,106],{"class":85,"line":105},4,[83,107,108],{},"ensure sky_base\n",[83,110,112],{"class":85,"line":111},5,[83,113,114],{},"ensure sky_jobs_base\n",[83,116,118],{"class":85,"line":117},6,[83,119,120],{},"ensure sky_dojjob\n",[15,122,123,124,127,128,133],{},"The filesystem permissions support shared configuration writes. Add them before the ",[19,125,126],{},"ensure"," lines and perform a full server restart after changing them. The shared ",[129,130,132],"a",{"href":131},"/docs/installation#filesystem-permissions","installation guide"," covers the base setup.",[41,135,137],{"id":136},"prepare-the-database","Prepare the database",[15,139,140,143,144,147,148,151,152,154],{},[19,141,142],{},"Config.AutoExecuteQuery"," is ",[19,145,146],{},"true"," in ",[19,149,150],{},"sky_dojjob/config/config.lua",". Leave it enabled to let the resource create and upgrade its tables. If automatic queries are disabled, apply the included ",[19,153,66],{}," before using the resource.",[15,156,157],{},"Back up the database before an update. Preserve existing case, document, template, signature and print-copy data; reinstalling the SQL is not a way to reset an individual permission or repair a missing template.",[41,159,161],{"id":160},"add-inventory-items","Add inventory items",[15,163,164,165,22,168,171,172,175,176,22,179,182,183,67],{},"Check ",[19,166,167],{},"doj_document",[19,169,170],{},"doj_law_book"," in your inventory, including their metadata support and icons. Register certificates also need the Jobs Base ",[19,173,174],{},"job_document"," item. If you want portable case material, register ",[19,177,178],{},"sky_briefcase",[19,180,181],{},"sky_case_folder"," and copy their item images. Add the configured printer supplies if you enable paper or ink consumption. Copyable entries for seven inventories, downloadable DOJ icons and metadata requirements are available under ",[129,184,186],{"href":185},"/docs/jobs/dojjob/reference/inventory","Inventory items",[41,188,190],{"id":189},"prepare-administrator-access","Prepare administrator access",[15,192,193,194,198,199,202],{},"Follow the shared ",[129,195,197],{"href":196},"/docs/installation#permissions-bootstrap","permissions bootstrap",". Confirm that your administrator account can open ",[19,200,201],{},"/jobconfig",". Command authorization and ordinary DOJ employee permissions are separate.",[15,204,205,206,209,210,213],{},"If you use the shared boss-permission bootstrap, run ",[19,207,208],{},"/setboss doj \u003CtopGrade>"," with the real numeric top grade of your job. Replace ",[19,211,212],{},"doj"," if you configured a different job name. This does not replace the role mapping in the next step.",[41,215,217],{"id":216},"configure-doj-access","Configure DOJ access",[15,219,220,221,223,224,228],{},"Open ",[19,222,201],{},", select Department of Justice Jobs and configure the job. Under ",[225,226,227],"strong",{},"Case-file access",", give the mapping a version and assign the actual technical grade names to prosecution, judiciary or court administration.",[15,230,231,232,236],{},"The shipped mapping is intentionally empty. Case-file access remains unavailable until it is configured. Follow the complete ",[129,233,235],{"href":234},"/docs/jobs/dojjob/setup/permissions","Permissions"," guide before testing the tablet.",[41,238,240],{"id":239},"configure-the-workplace","Configure the workplace",[15,242,243],{},"Place the courthouse and relevant interaction points through the Job Configurator. Add a physical printer to test printed documents; the default job's printer list is empty. Enable only the modules used by your server and configure any required external integrations.",[10,245,247],{"id":246},"first-start-check","First-start check",[249,250,251,255,258,264,271,274],"ul",{},[252,253,254],"li",{},"The console reports no missing dependency or database migration error.",[252,256,257],{},"The configured DOJ job and its grade names match your framework data.",[252,259,260,261,67],{},"An on-duty member with a mapped role can open ",[225,262,263],{},"Case Files",[252,265,266,267,270],{},"An authorized template manager can open ",[225,268,269],{},"Document templates"," and create a test document.",[252,272,273],{},"A second character can read a deliberately shared document, then loses source access when that share is revoked.",[252,275,276],{},"A print reaches the configured printer, can be collected and opens from the inventory.",[15,278,279,280,284],{},"Continue with ",[129,281,283],{"href":282},"/docs/jobs/dojjob/setup/configuration","Configuration"," for the settings that control these workflows.",[286,287,288],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":79,"searchDepth":86,"depth":92,"links":290},[291,292],{"id":12,"depth":92,"text":13},{"id":246,"depth":92,"text":247},"Install DOJ Job, prepare its database and items, then configure the first authorized DOJ user.","md",null,{},"/docs/jobs/dojjob/setup/installation",{"title":5,"description":293},{"loc":297},"1.docs/0.jobs/5.dojjob/2.setup/1.installation","i7i2hNT33n2fRHXEZExi9TAc73tTU1f0K8UCrQtfYI8",[303,308],{"title":304,"path":305,"stem":306,"description":307,"children":-1},"Overview","/docs/jobs/dojjob/overview","1.docs/0.jobs/5.dojjob/1.overview","Install and use DOJ Job, from case files and document templates to signatures, sharing and printed copies.",{"title":283,"path":282,"stem":309,"description":310,"children":-1},"1.docs/0.jobs/5.dojjob/2.setup/2.configuration","Configure DOJ jobs, feature toggles, records access and printers.",[],1791330910136]