To run this application, please follow the instructions below:
Ensure that you have Node.js version 16 or higher installed on your system.
Begin by cloning this repository to your local machine. You can do this by executing the following command in your terminal:
git clone <repository-url>
Before starting the project, it's necessary to set up environment variables. Follow these steps:
- Convert your
username:password
toBase64
using Base64 Converter - Copy the
base64
string. - Create a
.env
file in the root directory of the project. - Inside the
.env
file, assign the Base64 string to theVITE_AUTH
variable in the following format:
VITE_AUTH= Basic [your Base64 auth]
Here, username is dayatani, and password is your desired password, which will also be used to start the Agricola server later.
Next, install the project dependencies by running the following command in your terminal:
npm install
Before launching DayaTani project, ensure that you have the Agricola HTTP Server running, as the DayaTani project retrieves data from this server.
Finally, start the DayaTani project by executing the following command:
npm run dev
This will initiate the development serrver for the DayaTani application.