Skip to content
Snippets Groups Projects

The Nyx project focuses on the neural activity and locomotion of the Drosophila larva.

NyxUI.jl

Web interface meant to be served at nyx.pasteur.cloud (public) and nyx.dev.pasteur.cloud (internal).

It features an app catalog, with the following apps:

  • an editor for muscular activity programs,
  • LarvaTagger.jl with two automating tagging backends.

Local installation

For local execution, the installation instructions are as follows:

You will need JuliaUp and git.

Once these tools are installed, in a terminal (on Windows, preferably PowerShell), type:

git clone --branch dev https://gitlab.pasteur.fr/nyx/NyxUI.jl NyxUI
cd NyxUI
cp front/Manifest.toml .
juliaup add lts
juliaup default lts
julia --project=. -e 'using Pkg; Pkg.instantiate()'
. back/larvatagger-no-build.sh
julia --project=. routes.jl

You may be asked whether to authorize ports 9284, 9285 and 9286; please give the app permission.

From there, in a web browser, open http://localhost:9284/ to access the app.

Note that the generated files can be found somewhere in directory storage/exports.

The download buttons in the LarvaTagger app will not work in the web browser. To make them work, the reverse proxy setup in the container image called front is required. If you have Podman, as an alternative to the above installation procedure, you can simply run the backend and frontend as follows:

. back/larvatagger-no-build.sh
front/build.sh --now

Once the frontend container is up and running, connect to http://localhost:8080/.