instagraph
Converts text input or URL into knowledge graph and displays
파일 탐색기
- bug_report.md
- feature_request.md
- general-questions.md
- check_code.yaml
- docker-compose-dev.yml
- docker-compose.yml
- Dockerfile
- DockerfileDev
- driver.py
- falkordb.py
- neo4j.py
- index.html
- .env.example
- .gitignore
- CONTRIBUTION.MD
- dockerignore
- LICENSE
- main.py
- Makefile
- models.py
- poetry.lock
- pyproject.toml
- README.md
- replit.nix
- requirements.txt
# 설치 가이드
python / docker설치 및 실행 절차
git clone https://github.com/yoheinakajima/instagraph.git
저장소를 로컬에 복제합니다.
pip install -r requirements.txt
파이썬 의존성 패키지를 설치합니다.
cp .env.example .env
환경 변수 설정 파일을 복사하여 생성합니다.
python main.py
Flask 애플리케이션을 실행합니다.
핵심 명령어
pip install -r requirements.txt
requirements.txt에 명시된 파이썬 라이브러리를 설치합니다.
python main.py --port 8080
인스톨그래프 Flask 서버를 시작합니다.
docker-compose -f docker/docker-compose.yml up --build -d
도커를 이용해 애플리케이션을 컨테이너 환경에서 실행합니다.
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
설명 보기 ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
설명 보기 ▼
python
Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.
python
REPL(대화형 셸) 시작:
python {{path/to/file.py}}
특정 Python 파일 실행:
python -i {{path/to/file.py}}
특정 Python 파일 실행 후 REPL 시작:
