Skip to content

botketan/IntranetSearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntranetSearch - IIT Guwahati Intranet Search Engine

Overview

Welcome to the IntranetSearch repository! This project aims to create a powerful search engine specifically tailored for the Intranet pages of the Indian Institute of Technology (IIT) Guwahati. IntranetSearch will help users efficiently search and retrieve information from the institute's internal web resources, enhancing productivity and ease of access to important information.

Getting Started

Before using IntranetSearch, you'll need to set up Elasticsearch, and the backend is implemented using Node.js. In this repository, you'll find a Python folder containing requirements.txt, and there's also a Dockerfile that can be used to host the project locally.

Prerequisites

Make sure you have the following prerequisites installed:

Follow these steps:

  1. First, clone the IntranetSearch repository to your local machine:
git clone https://github.com/swciitg/IntranetSearch.git
  1. Make sure your elasticsearch server is up and running. Note down it's localhost endpoint and your username and password for Step 4.

  2. Navigate to the project's backend folder:

cd IntranetSearch/backend
  1. Create .env file with fields as in .env.sample inside backend folder

  2. Install Node.js dependencies:

npm install
  1. Start Backend Server:
npm start
  1. Go to python folder containing python API endpoints for this project
cd IntranetSearch/python
  1. Open a new terminal window in this folder and build the docker image:
docker build -t intranetsearch .
  1. Run the Docker Container locally:
 docker run -p 8080:80 -v "$(pwd)\..\data:/app/data" intranetsearch

Remember to handle Elasticsearch security settings and access control as needed to protect sensitive Intranet content.

Usage

Contribution guidelines

Visit CONTRIBUTING.md for more insights on contributing to this repo.

Happy Hacking!

Thank you for participating in intranetSearch's Hacktoberfest. We appreciate your contributions, and together, we can make intranetsearch even better for college sites everywhere. If you have any questions or need assistance, feel free to reach out to us via GitHub issues or our community chat.

Happy coding! 🚀🎉

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.2%
  • Python 11.2%
  • Dockerfile 5.6%