Closed pmeier closed 3 months ago
@pierrotsmnrd To run this you need to
$ pip install git+https://github.com/holoviz/panel@main git+https://github.com/bokeh/bokeh-fastapi@main
You also need to create a new config with ragna init
. Either set a different database URL there or remove any existing from ~/.cache/ragna/ragna.db
. Finally, API and UI are now started at the same time with ragna deploy
.
@pierrotsmnrd To run this you need to
$ pip install git+https://github.com/holoviz/panel@main git+https://github.com/bokeh/bokeh-fastapi@main
You also need to create a new config with
ragna init
. Either set a different database URL there or remove any existing from~/.cache/ragna/ragna.db
. Finally, API and UI are now started at the same time withragna deploy
.
I needed to bump python to 3.10 in order to get this to install
I needed to bump python to 3.10 in order to get this to install
Indeed, the next version of bokeh
, which will be pulled in when installing panel
from the main branch, is Python >= 3.10 only. So we'll likely have to migrate our code base soon. However, there is no need for this right now. The installation that works with 3.9 is
$ pip install \
git+https://github.com/bokeh/bokeh-fastapi.git@main \
git+https://github.com/holoviz/panel@7377c9e99bef0d32cbc65e94e908e365211f4421
Closes #417. This PR mostly moves stuff around there are very few actual functional changes:
ragna.deploy._cli
was moved toragna._cli
ragna.deploy._api.core
(error handling, CORS, etc.) was moved intoragna.deploy._core
The actual functional changes are all things listed in #417 and a massively simplified config. Since we no longer need a separate hostname / port / ... for the REST API and web UI, I was able to get completely rid of the sections. Meaning, our configuration at this point is flat.
This PR can already be reviewed. The code however is currently defunct due to bokeh/bokeh-fastapi#8.