zammad/doc/developer_manual/development_environment/getting-started.md

64 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2022-07-22 12:28:25 +00:00
# Getting Started
## Introduction
2022-07-22 12:28:25 +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
- **[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
## Quick Start
2022-07-22 12:28:25 +00:00
### 1. Clone the [Zammad repository](https://github.com/zammad/zammad)
2022-07-22 12:28:25 +00:00
### 2. Starting the Environment
2022-07-22 12:28:25 +00:00
#### Devcontainer Setup
- 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
For more information, see [devcontainer setup guide](devcontainer-setup.md)
2022-07-22 12:28:25 +00:00
#### Manual Setup
2022-07-22 12:28:25 +00:00
- Follow instructions in [manual setup guide](manual-setup.md)
2022-07-22 12:28:25 +00:00
### 3. First-Time Initialization
2022-07-22 12:28:25 +00:00
- **Devcontainer setup:** Not required; the container comes preconfigured.
- **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
### 4. Launching Zammad
2022-07-22 12:28:25 +00:00
You can start Zammad development services with:
2022-07-22 12:28:25 +00:00
#### Devcontainer setup
2022-07-22 12:28:25 +00:00
```sh
dev
2022-07-22 12:28:25 +00:00
```
#### Manual setup
2022-07-22 12:28:25 +00:00
```sh
bin/dev
2022-07-22 12:28:25 +00:00
```
### 5. Login
2022-07-22 12:28:25 +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
```text
Username / Email: admin@example.com
Password: test
2022-07-22 12:28:25 +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.