[{"data":1,"prerenderedAt":542},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fsetting-up\u002Fthe-shop-pc":179,"\u002Fdocs\u002Fsetting-up\u002Fthe-shop-pc-surround":541},[4,33,64,100,130,165],{"title":5,"path":6,"stem":7,"children":8,"icon":32},"Start here","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[9,12,17,22,27],{"title":10,"path":6,"stem":7,"icon":11},"What it does","i-lucide-book-open",{"title":13,"path":14,"stem":15,"icon":16},"Signing in","\u002Fdocs\u002Fgetting-started\u002Fsigning-in","1.docs\u002F1.getting-started\u002F2.signing-in","i-lucide-log-in",{"title":18,"path":19,"stem":20,"icon":21},"Finding your way around","\u002Fdocs\u002Fgetting-started\u002Ffinding-your-way","1.docs\u002F1.getting-started\u002F3.finding-your-way","i-lucide-compass",{"title":23,"path":24,"stem":25,"icon":26},"Who can do what","\u002Fdocs\u002Fgetting-started\u002Froles","1.docs\u002F1.getting-started\u002F4.roles","i-lucide-users",{"title":28,"path":29,"stem":30,"icon":31},"Words you will see","\u002Fdocs\u002Fgetting-started\u002Fwords","1.docs\u002F1.getting-started\u002F5.words","i-lucide-book-a","i-lucide-rocket",{"title":34,"icon":35,"path":36,"stem":37,"children":38,"page":63},"Selling","i-lucide-scan-barcode","\u002Fdocs\u002Fselling","1.docs\u002F2.selling",[39,43,48,53,58],{"title":40,"path":41,"stem":42,"icon":35},"Making a sale","\u002Fdocs\u002Fselling\u002Fthe-till","1.docs\u002F2.selling\u002F1.the-till",{"title":44,"path":45,"stem":46,"icon":47},"Receipts and the printer","\u002Fdocs\u002Fselling\u002Freceipts","1.docs\u002F2.selling\u002F2.receipts","i-lucide-receipt",{"title":49,"path":50,"stem":51,"icon":52},"A day's sales, voids and refunds","\u002Fdocs\u002Fselling\u002Fsales-by-day","1.docs\u002F2.selling\u002F3.sales-by-day","i-lucide-calendar-days",{"title":54,"path":55,"stem":56,"icon":57},"Closing the day","\u002Fdocs\u002Fselling\u002Fclosing-the-day","1.docs\u002F2.selling\u002F4.closing-the-day","i-lucide-send",{"title":59,"path":60,"stem":61,"icon":62},"When Chemistbook is not answering","\u002Fdocs\u002Fselling\u002Fwhen-you-cannot-reach-the-pc","1.docs\u002F2.selling\u002F5.when-you-cannot-reach-the-pc","i-lucide-plug-zap",false,{"title":65,"icon":66,"path":67,"stem":68,"children":69,"page":63},"Stock","i-lucide-boxes","\u002Fdocs\u002Fstock","1.docs\u002F3.stock",[70,75,80,85,90,95],{"title":71,"path":72,"stem":73,"icon":74},"Adding a product","\u002Fdocs\u002Fstock\u002Fproducts","1.docs\u002F3.stock\u002F1.products","i-lucide-pill",{"title":76,"path":77,"stem":78,"icon":79},"Finding a medicine on the FDA list","\u002Fdocs\u002Fstock\u002Fthe-fda-register","1.docs\u002F3.stock\u002F2.the-fda-register","i-lucide-badge-check",{"title":81,"path":82,"stem":83,"icon":84},"Ordering and taking a delivery","\u002Fdocs\u002Fstock\u002Fpurchases-and-deliveries","1.docs\u002F3.stock\u002F3.purchases-and-deliveries","i-lucide-truck",{"title":86,"path":87,"stem":88,"icon":89},"Expiring stock and stock set aside","\u002Fdocs\u002Fstock\u002Fexpiry-and-quarantine","1.docs\u002F3.stock\u002F4.expiry-and-quarantine","i-lucide-calendar-clock",{"title":91,"path":92,"stem":93,"icon":94},"Throwing stock away properly","\u002Fdocs\u002Fstock\u002Fdisposals","1.docs\u002F3.stock\u002F5.disposals","i-lucide-flame",{"title":96,"path":97,"stem":98,"icon":99},"Counting the shelf","\u002Fdocs\u002Fstock\u002Fstocktakes","1.docs\u002F3.stock\u002F6.stocktakes","i-lucide-clipboard-list",{"title":101,"icon":102,"path":103,"stem":104,"children":105,"page":63},"Staying legal","i-lucide-shield-check","\u002Fdocs\u002Fcompliance","1.docs\u002F4.compliance",[106,110,115,120,125],{"title":107,"path":108,"stem":109,"icon":79},"Your licence and the shop's details","\u002Fdocs\u002Fcompliance\u002Flicence-and-shop","1.docs\u002F4.compliance\u002F1.licence-and-shop",{"title":111,"path":112,"stem":113,"icon":114},"Reminders","\u002Fdocs\u002Fcompliance\u002Freminders","1.docs\u002F4.compliance\u002F2.reminders","i-lucide-bell",{"title":116,"path":117,"stem":118,"icon":119},"Reports for the accountant and the inspector","\u002Fdocs\u002Fcompliance\u002Freports-and-exports","1.docs\u002F4.compliance\u002F3.reports-and-exports","i-lucide-file-spreadsheet",{"title":121,"path":122,"stem":123,"icon":124},"The day's, week's and month's figures","\u002Fdocs\u002Fcompliance\u002Fsales-summaries","1.docs\u002F4.compliance\u002F4.sales-summaries","i-lucide-chart-column",{"title":126,"path":127,"stem":128,"icon":129},"Who did what","\u002Fdocs\u002Fcompliance\u002Faudit-trail","1.docs\u002F4.compliance\u002F5.audit-trail","i-lucide-scroll-text",{"title":131,"icon":132,"path":133,"stem":134,"children":135,"page":63},"Looking after the shop","i-lucide-settings-2","\u002Fdocs\u002Fadministration","1.docs\u002F5.administration",[136,140,145,150,155,160],{"title":137,"path":138,"stem":139,"icon":26},"People and what they may do","\u002Fdocs\u002Fadministration\u002Fusers-and-roles","1.docs\u002F5.administration\u002F1.users-and-roles",{"title":141,"path":142,"stem":143,"icon":144},"Messages to the owner","\u002Fdocs\u002Fadministration\u002Fmessages","1.docs\u002F5.administration\u002F2.messages","i-lucide-message-square-text",{"title":146,"path":147,"stem":148,"icon":149},"The Chemistbook window","\u002Fdocs\u002Fadministration\u002Finstall-as-an-app","1.docs\u002F5.administration\u002F3.install-as-an-app","i-lucide-app-window",{"title":151,"path":152,"stem":153,"icon":154},"Backups","\u002Fdocs\u002Fadministration\u002Fbackups","1.docs\u002F5.administration\u002F4.backups","i-lucide-database-backup",{"title":156,"path":157,"stem":158,"icon":159},"Updates","\u002Fdocs\u002Fadministration\u002Fupdates","1.docs\u002F5.administration\u002F5.updates","i-lucide-package-check",{"title":161,"path":162,"stem":163,"icon":164},"Your colours, logo and receipt","\u002Fdocs\u002Fadministration\u002Fyour-brand","1.docs\u002F5.administration\u002F6.your-brand","i-lucide-palette",{"title":166,"icon":167,"path":168,"stem":169,"children":170,"page":63},"The law behind it","i-lucide-scale","\u002Fdocs\u002Fregulation","1.docs\u002F6.regulation",[171,175],{"title":172,"path":173,"stem":174,"icon":102},"What an OTCMS may sell","\u002Fdocs\u002Fregulation\u002Fwhat-the-shop-may-sell","1.docs\u002F6.regulation\u002F1.what-the-shop-may-sell",{"title":176,"path":177,"stem":178,"icon":129},"The records the law wants","\u002Fdocs\u002Fregulation\u002Fthe-records-the-law-wants","1.docs\u002F6.regulation\u002F2.the-records-the-law-wants",{"id":180,"title":181,"body":182,"description":533,"extension":534,"links":535,"meta":536,"navigation":63,"path":537,"seo":538,"stem":539,"__hash__":540},"docs\u002F1.docs\u002F7.setting-up\u002F1.the-shop-pc.md","The shop PC",{"type":183,"value":184,"toc":523},"minimark",[185,196,199,204,209,261,265,268,361,365,396,403,407,509,512,516],[186,187,188],"note",{},[189,190,191,192,195],"p",{},"This page is for whoever installs and looks after the shop PC, and uses the words of that job. It is not in the guide's menu on purpose; the owner's pages on the same subjects are under ",[193,194,131],"a",{"href":142},".",[189,197,198],{},"The shop has one PC. Chemistbook runs on it as a Windows service, keeps the shop's records on its disk, and opens in a window of its own on the same PC. Nothing else opens it: not another computer, not a phone, not anything on the shop's network. Selling never needs the internet; the internet is for the owner's texts and e-mails, a look at the internet's clock to check the PC's, and a cloud folder for the backups if the shop uses one. After a power cut the till is back as soon as the PC is: the service starts with Windows.",[200,201,203],"h2",{"id":202},"what-the-pc-needs","What the PC needs",[186,205,206],{},[189,207,208],{},"The memory and disk figures below were measured with the same software on a Mac. They will be replaced by figures from a Windows PC once the first Windows install has been tested.",[210,211,212,220,226,232,238,245,251],"ul",{},[213,214,215,219],"li",{},[216,217,218],"strong",{},"Windows 10 or 11, 64-bit."," Nothing else to install: Chemistbook brings its own Java, and there is no Docker.",[213,221,222,225],{},[216,223,224],{},"4 GB of memory at the least, 8 GB to be comfortable."," Chemistbook itself uses about half a gigabyte: 490 MB for a new shop, about 630 MB at the busiest moment of a busy day. Edge and Windows take the rest.",[213,227,228,231],{},[216,229,230],{},"An SSD with 2 GB free."," The program takes about 150 MB. The records grow by about half a megabyte a day for a shop making 200 sales, and 14 backups, each about the size of the records, are kept on the PC.",[213,233,234,237],{},[216,235,236],{},"Microsoft Edge",", which comes with Windows. The shortcut opens Chemistbook in an Edge window of its own, with no address bar; without Edge it opens in the default browser.",[213,239,240,241,244],{},"A ",[216,242,243],{},"UPS"," for the PC, and for the router if the shop sends texts. Power is the failure that loses the most.",[213,246,240,247,250],{},[216,248,249],{},"USB drive",", or a folder that syncs to the cloud, for the copy of the backups off the PC.",[213,252,240,253,256,257,260],{},[216,254,255],{},"receipt printer"," on an 80 mm roll, and a ",[216,258,259],{},"barcode scanner"," if the shop wants one. Both are ordinary USB devices.",[200,262,264],{"id":263},"the-install","The install",[189,266,267],{},"Firmitek does the install with the shop, in an afternoon. What happens, so the owner knows what is on the machine:",[269,270,272,277,289,293,299,328,343,347,354,358],"steps",{"level":271},"3",[273,274,276],"h3",{"id":275},"what-to-have-ready","What to have ready",[189,278,279,280,283,284,288],{},"The shop's name as it is on the licence; the owner's full name, a sign-in name and a password of 12 characters or more; a ",[216,281,282],{},"backup passphrase"," of 12 characters or more, written on the inside cover of the licence folder; and the folder for the copy of the backups off the PC, such as ",[285,286,287],"code",{},"E:\\Chemistbook backups"," on the USB drive. The folder can be left empty and set later.",[273,290,292],{"id":291},"the-installer","The installer",[189,294,295,298],{},[285,296,297],{},"Chemistbook-Setup-\u003Cversion>-x64.exe",", run as an administrator. It asks for the details above, then:",[210,300,301,308,315,322],{},[213,302,303,304,307],{},"puts the program in ",[285,305,306],{},"C:\\Program Files\\Chemistbook",";",[213,309,310,311,314],{},"keeps the shop's records in ",[285,312,313],{},"C:\\ProgramData\\Chemistbook",", with the settings in a folder only Windows, the administrators and the service may open;",[213,316,317,318,321],{},"installs the ",[216,319,320],{},"Chemistbook"," service, which starts with Windows and restarts itself after a crash;",[213,323,324,325,327],{},"puts a ",[216,326,320],{}," shortcut on the desktop and in the Start menu.",[189,329,330,331,335,336,339,340,195],{},"Until the installer is signed, Windows may stop it with ",[332,333,334],"em",{},"Windows protected your PC",". Check the file's SHA-256 against the one published with it (",[285,337,338],{},"Get-FileHash"," in PowerShell) before choosing ",[216,341,342],{},"More info → Run anyway",[273,344,346],{"id":345},"first-sign-in","First sign-in",[189,348,349,350,353],{},"The shortcut opens a window that says ",[332,351,352],{},"Starting on this PC"," until the service answers, then the sign-in. The owner signs in with the name and the password from the install. The installer checks that this works and then removes the first password from the disk.",[273,355,357],{"id":356},"the-register","The register",[189,359,360],{},"The FDA register loads itself on the first start.",[200,362,364],{"id":363},"checking-it-is-well","Checking it is well",[210,366,367,386],{},[213,368,369,372,373,375,376,378,379,382,383,195],{},[216,370,371],{},"Services"," (press Windows and type ",[332,374,371],{},"): ",[216,377,320],{}," is ",[332,380,381],{},"Running",", startup ",[332,384,385],{},"Automatic",[213,387,388,389,392,393,195],{},"In a browser on the PC, ",[285,390,391],{},"http:\u002F\u002Flocalhost:8721\u002Factuator\u002Fhealth"," says ",[285,394,395],{},"{\"status\":\"UP\"}",[189,397,398,399,402],{},"If the till will not open, the order to check is: the PC is on; the Chemistbook service is running (start it from Services if not); then the service's logs in ",[285,400,401],{},"C:\\ProgramData\\Chemistbook\\logs",", which say why it stopped.",[200,404,406],{"id":405},"what-is-where","What is where",[408,409,410,429],"table",{},[411,412,413],"thead",{},[414,415,416,420,423,426],"tr",{},[417,418,419],"th",{},"Folder",[417,421,422],{},"What",[417,424,425],{},"On an update",[417,427,428],{},"On an uninstall",[430,431,432,448,468,482,496],"tbody",{},[414,433,434,439,442,445],{},[435,436,437],"td",{},[285,438,306],{},[435,440,441],{},"The program: its Java, the system, the screens, the service",[435,443,444],{},"Replaced",[435,446,447],{},"Removed",[414,449,450,455,458,465],{},[435,451,452],{},[285,453,454],{},"C:\\ProgramData\\Chemistbook\\data",[435,456,457],{},"The shop's records, one file",[435,459,460,461,464],{},"Kept, and copied to ",[285,462,463],{},"before-update"," first",[435,466,467],{},"Kept",[414,469,470,475,478,480],{},[435,471,472],{},[285,473,474],{},"C:\\ProgramData\\Chemistbook\\backups",[435,476,477],{},"The newest 14 backups",[435,479,467],{},[435,481,467],{},[414,483,484,489,492,494],{},[435,485,486],{},[285,487,488],{},"C:\\ProgramData\\Chemistbook\\settings",[435,490,491],{},"The passphrase, the off-site folder, the mail and text settings",[435,493,467],{},[435,495,467],{},[414,497,498,502,505,507],{},[435,499,500],{},[285,501,401],{},[435,503,504],{},"What the service did",[435,506,467],{},[435,508,467],{},[189,510,511],{},"Uninstalling (Settings → Apps) removes the program and the service and says where the records are. Installing again carries on with them.",[200,513,515],{"id":514},"what-stays-with-firmitek","What stays with Firmitek",[189,517,518,519,195],{},"Each installer is built from the source and tested on a Windows test machine before it goes to a shop. An update is a new installer, run when the owner decides: see ",[193,520,522],{"href":521},"\u002Fdocs\u002Fsetting-up\u002Fbackups-restore-and-updates","Backups, restore and updates",{"title":524,"searchDepth":525,"depth":526,"links":527},"",1,2,[528,529,530,531,532],{"id":202,"depth":526,"text":203},{"id":263,"depth":526,"text":264},{"id":363,"depth":526,"text":364},{"id":405,"depth":526,"text":406},{"id":514,"depth":526,"text":515},"Chemistbook runs on one Windows PC in the shop. What the PC needs, how it is installed, and how to check it is well.","md",null,{},"\u002Fdocs\u002Fsetting-up\u002Fthe-shop-pc",{"title":181,"description":533},"1.docs\u002F7.setting-up\u002F1.the-shop-pc","jKIprfVySghi3mBQ2ofAcqKnbJ2hW_7WpS8_L4v4B8M",[535,535],1791653126811]