+++ title = "Running" weight = 30 +++ # Running Run the start script (in the corresponding `bin/` directory when using the zip files): ``` $ ./docspell-restserver*/bin/docspell-restserver $ ./docspell-joex*/bin/docspell-joex ``` This will startup both components using the default configuration. The configuration should be adopted to your needs. For example, the database connection is configured to use a H2 database in the `/tmp` directory. Please refer to the [configuration page](@/docs/configure/_index.md) for how to create a custom config file. Once you have your config file, simply pass it as argument to the command: ``` $ ./docspell-restserver*/bin/docspell-restserver /path/to/server-config.conf $ ./docspell-joex*/bin/docspell-joex /path/to/joex-config.conf ``` After starting the rest server, you can reach the web application at path `/app`, so using default values it would be `http://localhost:7880/app`. There also is a redirect from `/` to `/app`. You should be able to create a new account and sign in. Check the [configuration page](@/docs/configure/_index.md) to further customize docspell. {% infobubble(mode="info", title="⚠ Please note") %} Please have a look at the [configuration page](@/docs/configure/_index.md) page, before making docspell available in the internet. By default, everyone can create an account. This is great for trying out and using it in an internal network. But when opened up to the outside, it is recommended to lock this down. {% end %} ## Memory Usage The memory requirements for the joex component depends on the document language and the configuration for [file processing](@/docs/configure/_index.md#file-processing). The `nlp.mode` setting has significant impact, especially when your documents are in German. Here are some rough numbers on jvm heap usage (the same small jpeg file was used for all tries):
nlp.mode | English | German | French |
---|---|---|---|
full | 420M | 950M | 490M |
basic | 170M | 380M | 390M |