Search code examples
arcadedb

ArcadeDb studio when starting embedded server


I created a simpple springboot app and I am using arcadeDb as embedded server. The app starts up fine and I am able to save the save the data. However, when I try and access the arcade studio on "http://localhost:2480", I get message - "Not found".

This is what I have in my gradle file

implementation com.aracdedb:arcade-engine:$A_VERSION
implementation com.aracdedb:arcade-server:$A_VERSION 

Here's my ArcadeDB config

@Configuration
public class ArcadeDbConfig{
  
  @Bean public ServerDatabase getDb(){
  Contextconfiguration config = new ContextConfiguration();
  config.setValue(GlobalConfiguration.SERVER_DATABASE_DIRECTORY, "/da/aracde/myDb");
  ArcadeDbServer server = new ArcadeDbServer(config);
  server.start();
  
  ....
}
}

Am I missing any dependencies? I also tried adding configuratio "SERVER_MODE, development" but that too did not enable the studio in embedded mode.


Solution

  • Include the arcadedb-studio-{{version}}.jar in your dependencies. The studio web tool is released in a separate jar.