[{"data":1,"prerenderedAt":308},["ShallowReactive",2],{"/docs/jobs/dojjob/setup/installation":3,"/docs/jobs/dojjob/setup/installation-surround":298,"/docs/jobs/dojjob/setup/installation-implemented-suggestions":307},{"id":4,"title":5,"body":6,"description":289,"extension":290,"head":291,"implementedSuggestions":291,"meta":292,"navigation":101,"path":293,"schemaOrg":291,"seo":294,"sitemap":295,"stem":296,"__hash__":297},"docs/1.docs/0.jobs/5.dojjob/2.setup/1.installation.md","Installation",{"type":7,"value":8,"toc":285},"minimark",[9,14,34,37,240,244,273,281],[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,183,187,199,210,214,225,233,237],"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,22,175,178,179,67],{},"Check ",[19,166,167],{},"doj_document",[19,169,170],{},"doj_law_book"," in your inventory, including their metadata support and icons. If you want portable case material, also register the Jobs Base items ",[19,173,174],{},"sky_briefcase",[19,176,177],{},"sky_case_folder"," and copy their item images. Add the configured printer supplies if you enable paper or ink consumption. The package includes ready-to-merge ox_inventory entries; see ",[129,180,182],{"href":181},"/docs/jobs/dojjob/reference/inventory","Inventory items",[41,184,186],{"id":185},"prepare-administrator-access","Prepare administrator access",[15,188,189,190,194,195,198],{},"Follow the shared ",[129,191,193],{"href":192},"/docs/installation#permissions-bootstrap","permissions bootstrap",". Confirm that your administrator account can open ",[19,196,197],{},"/jobconfig",". Command authorization and ordinary DOJ employee permissions are separate.",[15,200,201,202,205,206,209],{},"If you use the shared boss-permission bootstrap, run ",[19,203,204],{},"/setboss doj \u003CtopGrade>"," with the real numeric top grade of your job. Replace ",[19,207,208],{},"doj"," if you configured a different job name. This does not replace the role mapping in the next step.",[41,211,213],{"id":212},"configure-doj-access","Configure DOJ access",[15,215,216,217,219,220,224],{},"Open ",[19,218,197],{},", select Department of Justice Jobs and configure the job. Under ",[221,222,223],"strong",{},"Case-file access",", give the mapping a version and assign the actual technical grade names to prosecution, judiciary or court administration.",[15,226,227,228,232],{},"The shipped mapping is intentionally empty. Case-file access remains unavailable until it is configured. Follow the complete ",[129,229,231],{"href":230},"/docs/jobs/dojjob/setup/permissions","Permissions"," guide before testing the tablet.",[41,234,236],{"id":235},"configure-the-workplace","Configure the workplace",[15,238,239],{},"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,241,243],{"id":242},"first-start-check","First-start check",[245,246,247,251,254,260,267,270],"ul",{},[248,249,250],"li",{},"The console reports no missing dependency or database migration error.",[248,252,253],{},"The configured DOJ job and its grade names match your framework data.",[248,255,256,257,67],{},"An on-duty member with a mapped role can open ",[221,258,259],{},"Case Files",[248,261,262,263,266],{},"An authorized template manager can open ",[221,264,265],{},"Document templates"," and create a test document.",[248,268,269],{},"A second character can read a deliberately shared document, then loses source access when that share is revoked.",[248,271,272],{},"A print reaches the configured printer, can be collected and opens from the inventory.",[15,274,275,276,280],{},"Continue with ",[129,277,279],{"href":278},"/docs/jobs/dojjob/setup/configuration","Configuration"," for the settings that control these workflows.",[282,283,284],"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":286},[287,288],{"id":12,"depth":92,"text":13},{"id":242,"depth":92,"text":243},"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":289},{"loc":293},"1.docs/0.jobs/5.dojjob/2.setup/1.installation","OIEmvawcAo3VhUNTJ3rm7eSTTNOZ7-kbQIulROxxmS0",[299,304],{"title":300,"path":301,"stem":302,"description":303,"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":279,"path":278,"stem":305,"description":306,"children":-1},"1.docs/0.jobs/5.dojjob/2.setup/2.configuration","Configure DOJ jobs, feature toggles, records access and printers.",[],1790629507609]