# Installation

**Step 1**. Create your project using `composer`. This will install the basic set of dependencies and files.

```
composer create-project kuusamo/project
```

**Step 2**. Configure your environmental variables. This can be done by copying `config-example.php` to `config.php` and adding your own details.

```
cp config-example.php config.php
vim config.php
```

You can also use environmental variables in Apache, Heroku, or on the command line.

```
SetEnv DB_NAME "kuusamo_db"
```

**Step 3**. Install the database.

```
vendor/bin/doctrine orm:schema-tool:create
```

**Step 4**. Point your web server at the `public` directory.

**Step 5**. Open it up in your web browser and go to `/setup` to install your admin user.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kuusamo.org/setup/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
