Coder Social home page Coder Social logo

1111zx / docker-codesearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codelibs/docker-codesearch

0.0 0.0 0.0 148 KB

Code Search on Fess

Home Page: https://codesearch.codelibs.org

Shell 6.32% Java 86.94% CSS 3.34% HTML 3.01% Handlebars 0.40%

docker-codesearch's Introduction

Code Search on Fess

Fess is Enterprise Search Server. This docker environment provides Source Code Search Server on Fess.

Public Site

Getting Started

Setup

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

Start Server

docker-compose up -d

and then access http://localhost:8080/.

Create Access Token

To use Admin API for Fess, you need to create an access token with {role}admin-api permission at Admin Access Token page(http://localhost:8080/admin/accesstoken/). For more details, see Admin Access Token.

Install DataStore Git Plugin

To crawl a git repository, you need to install fess-ds-git plugin in Admin Plugin page(http://localhost:8080/admin/plugin/).

Create DataStore coniguration for GitHub

Using bin/register_github.sh, you can create DataStore and Scheduler settings on Fess.

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

You can check if settings are created in http://localhost:8080/admin/dataconfig/.

Start Crawler

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

Search

You can check search results on http://localhost:8080/.

Stop Server

docker-compose down

For Production

  • Replace codesearch.codelibs.org with your domain in docker-compose.yml.
  • If you want to use SSL, modify a value of STAGE in docker-compose.yml.

docker-codesearch's People

Contributors

marevol avatar

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.