{"id":10112,"date":"2023-11-20T23:54:08","date_gmt":"2023-11-20T23:54:08","guid":{"rendered":"https:\/\/putridparrot.com\/blog\/?p=10112"},"modified":"2023-11-20T23:54:08","modified_gmt":"2023-11-20T23:54:08","slug":"running-your-own-question-answer-site","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/running-your-own-question-answer-site\/","title":{"rendered":"Running your own Question &#038; Answer site"},"content":{"rendered":"<p>The team I&#8217;m currently on wanted to run a Q&#038;A type of site, internally within the workplace. We have Stack Overflow onsite, but we were looking for something specific to our application. Some research and trials later, I came across <a href=\"https:\/\/answer.dev\/\" rel=\"noopener\" target=\"_blank\">Answer<\/a>. Unlike some solutions I tested, this came with a working Docker configuration, that ran as easily as<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ndocker run -d -p 9080:80 -v answer-data:\/data --name answer answerdev\/answer:latest\r\n<\/pre>\n<p>If you want to have people register themselves you&#8217;ll need to set up the SMTP configuration or I think there&#8217;s a module for another type of authentication. For our use, I simply ran the docker command and logged in as admin, then added other users. It looks good and so far.<\/p>\n<p>When you need to restart it just run the usual docker command<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ndocker start answer\r\n<\/pre>\n<p>Currently I&#8217;ve it up for the SQLite data store. Volumes, by default are stored<\/p>\n<p>On Windows in <\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\\\\wsl.localhost\\docker-desktop-data\\version-pack-data\\community\\docker\\volumes\\answer-data\\_data\r\n<\/pre>\n<p>On Linux in <\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\/var\/lib\/docker\/volumes\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The team I&#8217;m currently on wanted to run a Q&#038;A type of site, internally within the workplace. We have Stack Overflow onsite, but we were looking for something specific to our application. Some research and trials later, I came across Answer. Unlike some solutions I tested, this came with a working Docker configuration, that ran [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[358],"tags":[],"class_list":["post-10112","post","type-post","status-publish","format-standard","hentry","category-answer-dev"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/10112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=10112"}],"version-history":[{"count":5,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/10112\/revisions"}],"predecessor-version":[{"id":10172,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/10112\/revisions\/10172"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=10112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=10112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=10112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}