2022-07-22 12:28:25 +00:00
|
|
|
# Getting Started
|
|
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
## Introduction
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
This guide explains how to setup a local Zammad development environment.
|
|
|
|
|
You can choose between two approaches:
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
- **[Devcontainer Setup](devcontainer-setup.md) (recommended)** - Uses a prebuilt development container for a
|
|
|
|
|
ready-to-use environment. This is the quickest way to get started.
|
|
|
|
|
- **[Manual Setup](manual-setup.md)** - Install all dependencies directly on your machine for full control.
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
## Quick Start
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
### 1. Clone the [Zammad repository](https://github.com/zammad/zammad)
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
### 2. Starting the Environment
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
#### Devcontainer Setup
|
2023-01-05 10:17:02 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
- Open the project folder in VS Code
|
|
|
|
|
- Click "Reopen in Container"
|
|
|
|
|
- The container will build automatically and start all required services
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
For more information, see [devcontainer setup guide](devcontainer-setup.md)
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
#### Manual Setup
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
- Follow instructions in [manual setup guide](manual-setup.md)
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
### 3. First-Time Initialization
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
- **Devcontainer setup:** Not required; the container comes preconfigured.
|
2026-04-02 21:02:14 +00:00
|
|
|
- **Manual setup:**
|
|
|
|
|
Refer to the [development-workflow](development-workflow.md#quickly-reset-an-existing-development-database) setup.
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
### 4. Launching Zammad
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
You can start Zammad development services with:
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
#### Devcontainer setup
|
2022-07-22 12:28:25 +00:00
|
|
|
|
|
|
|
|
```sh
|
2025-11-10 08:06:55 +00:00
|
|
|
dev
|
2022-07-22 12:28:25 +00:00
|
|
|
```
|
|
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
#### Manual setup
|
2022-07-22 12:28:25 +00:00
|
|
|
|
|
|
|
|
```sh
|
2025-11-10 08:06:55 +00:00
|
|
|
bin/dev
|
2022-07-22 12:28:25 +00:00
|
|
|
```
|
|
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
### 5. Login
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
Once the application is running, open it in your browser at `http://localhost:3000` and use the default development credentials:
|
2022-07-22 12:28:25 +00:00
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
```text
|
|
|
|
|
Username / Email: admin@example.com
|
|
|
|
|
Password: test
|
2022-07-22 12:28:25 +00:00
|
|
|
```
|
|
|
|
|
|
2025-11-10 08:06:55 +00:00
|
|
|
> [!NOTE]
|
|
|
|
|
> The first time you launch the app, it can take a few minutes for assets to compile.
|
|
|
|
|
> You may see a blank browser window until this process is complete.
|