Files
EOS/docs/develop/getting_started.md
T

87 lines
2.5 KiB
Markdown
Raw Normal View History

2025-10-28 02:50:31 +01:00
% SPDX-License-Identifier: Apache-2.0
(getting-started-page)=
2025-01-03 00:31:20 +01:00
# Getting Started
2025-10-28 02:50:31 +01:00
## Installation and Running
2025-10-28 02:50:31 +01:00
AkkudoktorEOS can be installed and run using several different methods:
2025-10-28 02:50:31 +01:00
- **Release package** (for stable versions)
- **Docker image** (for easy deployment)
- **From source** (for developers)
2025-10-28 02:50:31 +01:00
See the [installation guideline](#install-page) for detailed instructions on each method.
2025-10-28 02:50:31 +01:00
### Where to Find AkkudoktorEOS
2025-10-28 02:50:31 +01:00
- **Release Packages**: [GitHub Releases](https://github.com/Akkudoktor-EOS/EOS/releases)
- **Docker Images**: [Docker Hub](https://hub.docker.com/r/akkudoktor/eos)
- **Source Code**: [GitHub Repository](https://github.com/Akkudoktor-EOS/EOS)
## Configuration
2025-10-28 02:50:31 +01:00
AkkudoktorEOS uses the `EOS.config.json` file to manage all configuration settings.
### Default Configuration
2025-10-28 02:50:31 +01:00
If essential configuration settings are missing, the application automatically uses a default
configuration to get you started quickly.
2025-10-28 02:50:31 +01:00
### Custom Configuration Directory
2025-10-28 02:50:31 +01:00
You can specify a custom location for your configuration by setting the `EOS_DIR` environment
variable:
2025-10-28 02:50:31 +01:00
```bash
export EOS_DIR=/path/to/your/config
```
2025-10-28 02:50:31 +01:00
**How it works:**
2025-10-28 02:50:31 +01:00
- **If `EOS.config.json` exists** in the `EOS_DIR` directory → the application uses this
configuration
- **If `EOS.config.json` doesn't exist** → the application copies `default.config.json` to `EOS_DIR`
as `EOS.config.json`
2025-10-28 02:50:31 +01:00
### Creating Your Configuration
2025-10-28 02:50:31 +01:00
There are three ways to configure AkkudoktorEOS:
2025-10-28 02:50:31 +01:00
1. **EOSdash (Recommended)** - The easiest method is to use the web-based dashboard at
[http://localhost:8504](http://localhost:8504)
2025-10-28 02:50:31 +01:00
2. **Manual editing** - Create or edit the `EOS.config.json` file directly in your preferred text
editor
2025-10-28 02:50:31 +01:00
3. **Server API** - Programmatically change configuration through the [server API](#server-api-page)
2025-10-28 02:50:31 +01:00
For a complete reference of all available configuration options, see the [configuration guideline](#configuration-page).
2025-10-28 02:50:31 +01:00
## Quick Start Example
2025-10-28 02:50:31 +01:00
```bash
# Pull the latest docker image
docker pull akkudoktor/eos:latest
2025-10-28 02:50:31 +01:00
# Run the application
docker run -d \
--name akkudoktoreos \
-p 8503:8503 \
-p 8504:8504 \
-e OPENBLAS_NUM_THREADS=1 \
-e OMP_NUM_THREADS=1 \
-e MKL_NUM_THREADS=1 \
-e EOS_SERVER__HOST=0.0.0.0 \
-e EOS_SERVER__PORT=8503 \
-e EOS_SERVER__EOSDASH_HOST=0.0.0.0 \
-e EOS_SERVER__EOSDASH_PORT=8504 \
--ulimit nproc=65535:65535 \
--ulimit nofile=65535:65535 \
--security-opt seccomp=unconfined \
akkudoktor/eos:latest
2025-10-28 02:50:31 +01:00
# Access the dashboard
open http://localhost:8504
```