This repository has an example of how to connect Monaco Editor with Julia Language Server
.
-
Change the
server/.env
file with your directories forPROJECT_PATH
: path where the project toml is.SERVER_FILE
: location of server.jl file.SOURCE_PATH
: path of your Project.toml.DEPOT_PATH
: I suggest to leave it empty.STORE_PATH
: where the indexed packages will be stored.
-
Run the
Julia Language Server
cd server
npm run prepare
npm run start
- Run the client
cd client
npm run start:dev
You can also run the script
RUN.dev.sh
.
In the root folder
docker build -t client client/
docker run -it -p 8080:8080 client
docker build -t server -f server/buster.Dockerfile server/
docker run -it -p 3000:3000 server
Instead, we can run both docker with one command using docker compose
as follows.
docker-compose up --build
Open the project at http://localhost:8080/
.