Search engine from different sources:
- Indexing git sources and searching.
- DOCX Documents.
Before starting, create an .env file and edit it:
cp ./.env.example ./.env
Run docker:
make run-docker
Run system:
make run
Run migrations:
make run-migrate
Run full system:
make dev
Go to working directory:
cd ./client
Before starting, create an .env file and edit it:
cp ./.env.example ./.env
Install dependencies:
npm i
Run system:
npm run dev
Env param | Value | Example |
---|---|---|
FD_ROOT_PATH_REPO |
Root folder for storing locally installed repositories | /path/FD/repo |
FD_ROOT_PATH_DOCX |
Root folder for storing locally installed docx files | /path/FD/docx |
FD_ALLOW_ORIGIN |
Set the list of allowed origins. | http://localhost:5173,http://localhost:5174 |
FD_POSTGRES_PORT |
Indicates the port where the server is listening | localhost |
FD_POSTGRES_HOST |
Is where the server host is located | 5432 |
FD_POSTGRES_PASSWORD |
Password for connecting to the specified database | my_db_password |
FD_POSTGRES_USER |
Database user | my_db_user |
FD_POSTGRES_DB |
Database name | my_db |
Env param | Value | Example |
---|---|---|
VITE_FD_HOST_API |
The host for the API module | http://localhost:8080 |
Build client:
cd ./client && npm run build
Build server:
mvn clean package
Run server:
java -jar ./fugitive-darkness-api/target/fugitive-darkness-api-0.0.8-fat.jar