What is BigCapital?
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. -https://github.com/bigcapitalhq/bigcapital
Installing Docker
- Log into the Linux based device
- Run the following commands in the terminal
# install prerequisites
sudo apt install apt-transport-https ca-certificates git curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
Running BigCapital
- Continue with the following commands in a terminal window
# create working directories
mkdir ~/docker/bigcapital -p
# clone source code from github
git clone --depth 1 -b main https://github.com/bigcapitalhq/bigcapital.git ~/docker/bigcapital
# change directory
cd ~/docker/bigcapital
# create .env
cp .env.example .env
# edit .env
nano .env - Edit the following fields in the .env file
DB_USER=bigcapital_rw
DB_PASSWORD=BigC@pit4l
DB_ROOT_PASSWORD=r00tp@ss
BASE_URL=http://<%DNSorIP%>:8000
PUBLIC_PROXY_PORT=8000
PUBLIC_PROXY_SSL_PORT=8443 - Press CTRL+O, Enter, CTRL+X to write the changes and exit
- Continue with the following commands in the terminal
# run the container stack
docker-compose --file docker-compose.prod.yml up -d - Open a web browser and navigate to http://DNSorIP:8000
- Click the Sign Up link to create an account
- Enter a first name, last name, email address and password > Click Register
- Complete the Organization details form > Click Save & Continue
- Click Go to dashboard
- Welcome to BigCapital
Documentation: https://docs.bigcapital.app/deployment/docker