Coder Social home page Coder Social logo

docker-codesearch's Introduction

Code Search on Fess

Fess is an Enterprise Search Server. This Docker environment provides a Source Code Search Server using Fess.

Public Site

Getting Started

Setup

First, clone the repository and navigate into the directory:

$ git clone https://github.com/codelibs/docker-codesearch.git
$ cd docker-codesearch
$ bash ./bin/setup.sh

Start the Server

To start the server, use Docker Compose:

docker compose -f compose.yaml up -d

Once the server is running, access it at http://localhost:8080/.

Create an Access Token

To use the Admin API for Fess, create an access token with the {role}admin-api permission on the Admin Access Token page (http://localhost:8080/admin/accesstoken/).

For more details, see the Admin Access Token Guide.

Create DataStore Configuration for GitHub

You can create DataStore and Scheduler settings on Fess using the bin/register_github.sh script:

register_github.sh ACCESS_TOKEN FESS_URL REPO_DOMAIN REPO_ORG REPO_NAME

Example:
$ bash ./bin/register_github.sh ...token... http://localhost:8080 github.com codelibs fess

Check the created settings on the DataConfig page (http://localhost:8080/admin/dataconfig/).

Start the Crawler

To start the crawler, run Default Crawler or Data Crawler - ... on the Admin Scheduler page (http://localhost:8080/admin/scheduler/).

Search

You can view search results at http://localhost:8080/.

Stop the Server

To stop the server, use the following command:

docker compose -f compose.yaml down

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.