Commit fadff7f5 authored by Bernhard Liebl's avatar Bernhard Liebl
Browse files

fix local installation

parent afdc2d28
# vectorian-2021-demo # vectorian-2021-demo
Demo Notebooks for the new Vectorian Demo Notebooks for the new Vectorian
# Local Installation
## Installation
```
cd /path/to/your/projects/folder
git clone https://github.com/poke1024/vectorian-2021-demo
cd vectorian-2021-demo
conda env create -f environment.yml
```
The `conda` command usually takes 5 to 10 minutes.
## Launching
```
conda activate vectorian-demo
cd /path/to/your/projects/folder
cd vectorian-2021-demo
jupyter notebook publication.ipynb
```
Executing the first code cell will take some time.
## Troubleshooting
Sometimes the Bokeh server wants a different port. Running
```
import os
os.environ["BOKEH_ALLOW_WS_ORIGIN"] = "localhost:8890"
```
inside Jupyter can help.
...@@ -8,7 +8,7 @@ dependencies: ...@@ -8,7 +8,7 @@ dependencies:
- ipywidgets - ipywidgets
- widgetsnbextension - widgetsnbextension
- faiss - faiss
- bs4 - beautifulsoup4>=4.9
- pip - pip
- pip: - pip:
- vectorian>=0.8.1.dev4 - vectorian>=0.8.1.dev4
...@@ -21,4 +21,4 @@ dependencies: ...@@ -21,4 +21,4 @@ dependencies:
- networkx>=2.5.1 - networkx>=2.5.1
- jp_proxy_widget - jp_proxy_widget
- https://github.com/MartinoMensio/spacy-sentence-bert/releases/download/v0.1.2/en_paraphrase_distilroberta_base_v1-0.1.2.tar.gz#en_paraphrase_distilroberta_base_v1-0.1.2 - https://github.com/MartinoMensio/spacy-sentence-bert/releases/download/v0.1.2/en_paraphrase_distilroberta_base_v1-0.1.2.tar.gz#en_paraphrase_distilroberta_base_v1-0.1.2
- https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0-py3-none-any.whl
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment