Bladeren bron

0970: Run BigCapital - Accounting and Inventory Software - in Docker

i12bretro 8 maanden geleden
bovenliggende
commit
3ab2767812
1 gewijzigde bestanden met toevoegingen van 93 en 0 verwijderingen
  1. 93 0
      0970.html

+ 93 - 0
0970.html

@@ -0,0 +1,93 @@
+    <!DOCTYPE html>
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>Run BigCapital - Accounting and Inventory Software - in Docker</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta charset="UTF-8">
+        <meta name="keywords" content="Browser Based,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Accounting,Accounting Software,Debian,Docker,Docker Container,Docker How To,Docker Made Simple,Docker Simplified,Docker Tutorial,Homelab,Linux,Ubuntu,Big Capital,BigCapital,How To,Tutorial,i12bretro">
+        <meta name="author" content="i12bretro">
+        <meta name="description" content="Run BigCapital - Accounting and Inventory Software - in Docker">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <meta name="revised" content="11/14/2024 04:08:42 AM" />
+				          <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
+				  <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+				        <script type="text/javascript" src="includes/js/steps.js"></script>
+        <link href="css/steps.css" rel="stylesheet" type="text/css" />
+      </head>
+      <body>
+        <div id="gridContainer">
+          <div class="topMargin"></div>
+          <div id="listName" class="topMargin">
+            <h1>Run BigCapital - Accounting and Inventory Software - in Docker</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <h2>What is BigCapital?</h2>
+
+<blockquote><em>Bigcapital is a smart and open-source accounting and inventory software, Bigcapital keeps all business finances in right place and automates accounting processes to give the business powerful and intelligent financial statements and reports to help in making decisions. -<a href="https://github.com/bigcapitalhq/bigcapital" target="_blank">https://github.com/bigcapitalhq/bigcapital</a></em></blockquote>
+
+<h2>Installing Docker</h2>
+
+<ol>
+	<li>Log into the Linux based device</li>
+	<li>Run the following commands in the terminal
+	<div class="codeBlock"># install prerequisites<br />
+	sudo apt install apt-transport-https ca-certificates git curl software-properties-common gnupg-agent -y<br />
+	# add docker gpg key<br />
+	curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
+	# add docker software repository<br />
+	sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
+	# install docker<br />
+	sudo apt install docker-ce docker-compose containerd.io -y<br />
+	# enable and start docker service<br />
+	sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
+	# add the current user to the docker group<br />
+	sudo usermod -aG docker $USER<br />
+	# reauthenticate for the new group membership to take effect<br />
+	su - $USER</div>
+	</li>
+</ol>
+
+<h2>Running BigCapital</h2>
+
+<ol>
+	<li>Continue with the following commands in a terminal window
+	<div class="codeBlock"># create working directories<br />
+	mkdir ~/docker/bigcapital -p<br />
+	# clone source code from github<br />
+	git clone --depth 1 -b main https://github.com/bigcapitalhq/bigcapital.git ~/docker/bigcapital<br />
+	# change directory<br />
+	cd ~/docker/bigcapital<br />
+	# create .env<br />
+	cp .env.example .env<br />
+	# edit .env<br />
+	nano .env</div>
+	</li>
+	<li>Edit the following fields in the .env file
+	<p>DB_USER=bigcapital_rw<br />
+	DB_PASSWORD=BigC@pit4l<br />
+	DB_ROOT_PASSWORD=r00tp@ss<br />
+	<br />
+	BASE_URL=http://&lt;%DNSorIP%&gt;:8000<br />
+	<br />
+	PUBLIC_PROXY_PORT=8000<br />
+	PUBLIC_PROXY_SSL_PORT=8443</p>
+	</li>
+	<li>Press CTRL+O, Enter, CTRL+X to write the changes and exit</li>
+	<li>Continue with the following commands in the terminal
+	<div class="codeBlock"># run the container stack<br />
+	docker-compose --file docker-compose.prod.yml up -d</div>
+	</li>
+	<li>Open a web browser and navigate to http://DNSorIP:8000</li>
+	<li>Click the Sign Up link to create an account</li>
+	<li>Enter a first name, last name, email address and password &gt; Click Register</li>
+	<li>Complete the Organization details form &gt; Click Save &amp; Continue</li>
+	<li>Click Go to dashboard</li>
+	<li>Welcome to BigCapital</li>
+</ol>
+
+<p>Documentation: <a href="https://docs.bigcapital.app/deployment/docker" target="_blank">https://docs.bigcapital.app/deployment/docker</a></p>          </div>
+        </div>
+      </body>
+    </html>
+