Tania is an open-source farming management system that helps farmers and growers manage their crops, track activities, and make data-driven decisions. In this tutorial, we will walk through the steps to install Tania on macOS.
Before we start the installation process, make sure you have the following requirements:
If you don't have Docker installed, you can download and install it from the Docker website.
Open the terminal on your Mac and navigate to the directory where you want to install Tania. Then, type the following command to clone the Tania repository:
git clone https://github.com/Tanibox/tania-core.git
This will download all the necessary files and folders into the directory you're in.
Navigate to the tania-core
directory and create a .env
file by typing the following command:
cp .env.example .env
This will create a copy of the .env.example
file and rename it to .env
.
Open the .env
file in your preferred text editor and add the following values:
APP_URL=http://localhost
APP_PORT=8888
DB_USERNAME=tania
DB_PASSWORD=password
DB_DATABASE=tania
DB_HOST=db
DB_PORT=3306
Save the changes to the .env
file.
Open the terminal and navigate to the tania-core
directory. Then, type the following command to start the Tania containers:
docker-compose up -d
This will start the containers in detached mode, which means they will run in the background.
Open your web browser and navigate to http://localhost:8888
. You should see the Tania login page.
Use the default username and password to login:
admin
password
Congratulations! You have successfully installed Tania on your macOS-based computer.
To stop the Tania containers, open the terminal and navigate to the tania-core
directory. Then, type the following command:
docker-compose down
This will stop and remove the containers from your system.
In this tutorial, we learned how to install Tania on macOS. Tania provides an easy-to-use interface for managing crops and activities on your farm or garden. We hope this tutorial helped you get started with Tania.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!