Katha is a library management software developed by Grovix Lab, designed to streamline library operations. This software is open-source and published under the MIT License.
- MongoDB: Download and install MongoDB from the official MongoDB website.
- Node.js: Download and install Node.js from the official Node.js website.
-
Download Software:
- Go to our GitHub repository to download the software files.
-
Unzip the File:
- After downloading, unzip the file to your desired directory.
-
Set Up Your Code Editor:
- We recommend using Visual Studio Code for editing and managing the code.
-
Configure Environment Variables:
-
In the root directory of the unzipped files, create a file named
.env
. -
Add your admin credentials to this file with the following format:
USER=<your username> PASSW=<your password>
-
-
Install npm Packages:
- Open a terminal in the directory where you unzipped the files.
- Run the command:
npm install
to install all necessary packages.
-
Start the Server:
- In the terminal, start the server by running:
node ./bin/www
.
- In the terminal, start the server by running:
To ensure the server runs 24/7 or starts automatically when the system boots up, you need to create a script and configure it for automatic execution.
For Windows:
-
Create a
.bat
file:-
Open Notepad and write the following script:
@echo off cd /d "C:\path\to\your\katha\directory" node ./bin/www
-
Save this file with a
.bat
extension, for example,start-katha.bat
.
-
-
Add to Startup:
- Press
Win + R
, typeshell:startup
, and press Enter. - Place a shortcut to the
.bat
file in the startup folder.
- Press
For Linux/MacOS:
-
Create a
.sh
file:-
Open a terminal and write the following script:
#!/bin/bash cd /path/to/your/katha/directory node ./bin/www
-
Save this file with a
.sh
extension, for example,start-katha.sh
. -
Make it executable with the command:
chmod +x start-katha.sh
.
-
-
Add to Startup:
-
To run on system startup, add the script to your system’s startup applications or use
cron
jobs. For example, edit thecrontab
withcrontab -e
and add:@reboot /path/to/start-katha.sh
-
If you have any questions or need further assistance, please contact our support team at [email protected].