Set up remote API

58 views
Skip to first unread message

Yanir Marmor

unread,
Aug 9, 2022, 7:55:55 AM8/9/22
to inception-users
Hello,

If you could assist me with setting up a remote API for INCEpTION, that would be great. I followed the instructions here as best I could. The first step should be to add remote-api.enabled=true to settings.properties. I create this file with only one line "remote-api.enabled=true" since I don't have a file with this name. Nothing seems to have happened. I wonder if I need to restart INCEpTION and start it again with specific parameters to take the new settings.

Best wishes,

Yanir

Richard Eckart de Castilho

unread,
Aug 9, 2022, 1:11:13 PM8/9/22
to inception-users
Hi,

> On 9. Aug 2022, at 13:55, Yanir Marmor <yan...@gmail.com> wrote:
>
> If you could assist me with setting up a remote API for INCEpTION, that would be great. I followed the instructions here as best I could. The first step should be to add remote-api.enabled=true to settings.properties. I create this file with only one line "remote-api.enabled=true" since I don't have a file with this name. Nothing seems to have happened. I wonder if I need to restart INCEpTION and start it again with specific parameters to take the new settings.

When the `settings.properties` file is changed or updated, INCEpTION needs to be restarted for the changes to take effect.

Then look for this line in the console/log output during startup:

```
... [main] INFO [SYSTEM] InceptionApplicationContextInitializer - Settings: /.../settings.properties (file exists)
```

It will tell you where INCEpTION expects the file and if INCEpTION was able to locate the file at the expected path.

If you get the "file exists" at the end of the line, then the contents of the `settings.properties` file should take
effect.

If you do not have a `settings.properties` file yet, you may still be using the embedded DB. Note that using an external
MariaDB is recommended. Also note that regular backups of the database as well as the INCEpTION data files are recommended.
At least regular exports of the projects should be performed.

Cheers,

-- Richard

Reply all
Reply to author
Forward
0 new messages