How to Install Tania on Debian Latest
Tania is an open-source farming management system that helps farmers to manage their farms efficiently. This tutorial will guide you through the installation process of Tania on Debian Latest.
Prerequisites
Before proceeding with the installation of Tania, you must have the following:
- A Debian Latest system with root access
- Docker and Docker-compose installed on your system
- Git installed on your system
Step 1: Clone the Tania repository
First, you need to clone the Tania repository using the Git command:
git clone https://github.com/Tanibox/tania-core.git
Step 2: Configure the Environment Variables
Next, you need to configure the environment variables. Navigate to the cloned Tania directory and make a new file named 'tania.env' using the following command:
cp .env.example tania.env
Then, open the file and provide your desired configuration values as per your needs.
nano tania.env
Step 3: Build Tania Docker Image
Once you have completed the configuration, build the Tania Docker image using the following command:
docker-compose build
Step 4: Run the Tania Docker Containers
After building the Tania Docker image, run the following command to start the Docker containers:
docker-compose up -d
The command will create two Docker containers, one for the Tania application and one for the database.
Step 5: Verify Tania Installation
Open your web browser and enter the IP address of your Debian system. You should see the Tania login page.
http://your_ip_address:8000
You can now log in with the default credentials.
Username: admin
Password: admin123
Once you have logged in, you can customize the application according to your needs.
Congratulations! You have successfully installed Tania on your Debian Latest system.
Conclusion
In this tutorial, you have learned how to install Tania on Debian Latest using Docker and Docker-compose. Tania is an excellent tool for farmers and agricultural workers to manage their farms effectively.