How to Install Tania on Linux Mint
Tania is an open-source farm management system that helps farmers manage and track their crops and livestock. In this tutorial, we'll show you how to install Tania on Linux Mint.
Prerequisites
Before installing Tania, you'll need to have the following:
- Linux Mint latest
- Docker and Docker Compose
Step 1: Installing Docker and Docker Compose
Tania requires Docker and Docker Compose to be installed on the system. You can follow the instructions below to install Docker and Docker Compose:
- Update the package list:
sudo apt-get update
- Install Docker:
sudo apt-get install docker-ce docker-ce-cli containerd.io
- Install Docker Compose:
sudo apt-get install docker-compose
- Verify that Docker and Docker Compose are installed correctly:
docker --version
docker-compose --version
If these commands display the versions of Docker and Docker Compose, then you have successfully installed them.
Step 2: Downloading and Configuring Tania
- Download the latest version of Tania:
git clone https://github.com/Tanibox/tania-core.git
cd tania-core
- Create a
.envfile by copying the example:
cp .env.example .env
- Edit the
.envfile to set your database credentials and other variables as per your requirement.
nano .env
Step 3: Starting Tania
- Use docker-compose to start Tania:
docker-compose up -d
- Check Tania container:
docker ps
You should see the Tania container running.
- Access Tania web interface:
Open your favorite web browser and type the following URL:
http://localhost:8000
Conclusion
Congratulations! You have successfully installed Tania on your Linux Mint machine. You can now start managing and tracking your farm produce with Tania.