# HowTo use the turnkey docker images to create a test Forest Admin project

**URL:** <https://community.forestadmin.com/t/howto-use-the-turnkey-docker-images-to-create-a-test-forest-admin-project/172>\
**Category:** Help me!\
**Tags:** howtos\
**Created:** [May 13, 2020, 4:21pm UTC](https://community.forestadmin.com/t/howto-use-the-turnkey-docker-images-to-create-a-test-forest-admin-project/172 "2020-05-13T16:21:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruphy](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/ruphy/32/7_2.png) [@ruphy](https://community.forestadmin.com/u/ruphy)\
**Post date:** [May 13, 2020, 4:21pm UTC](https://community.forestadmin.com/t/howto-use-the-turnkey-docker-images-to-create-a-test-forest-admin-project/172/1 "2020-05-13T16:21:52Z")

</div>

This small tutorial was created by Bryan Stone and documents how to use the turnkey docker images to create a test project. Have fun!

## 1 - Seed & launch a demo database

```javascript
docker run --rm -d --name turnkey forestadmin/turnkey-mysql

```

​

## 2 - Generate application using `lumber` against database

```javascript
docker run --rm --name lumber \
--link turnkey \
-v `pwd`:/usr/src/app --init \
-e DATABASE_URL="mysql://turnkey:turnkey@turnkey:3306/turnkey" \
-e DATABASE_SSL="false" \
-e APP_NAME="Turnkey Demo" \
-e FOREST_EMAIL=" ************" \
-e FOREST_TOKEN=" ************" \
-e APPLICATION_HOST="localhost" \
-e APPLICATION_PORT="3310" \
-ti forestadmin/lumber

```

​

## 3 - We can kill the database container now, we’ll restart it later:

```javascript
docker kill turnkey

```

​

## 4 - Open the generated `Turnkey Demo` application and edit the `docker-compose.yml` to add the database container to the stack:

```javascript
  turnkey:
    container_name: turnkey
    image: forestadmin/turnkey-mysql

```

## 5 - Now you can start the generated app with:

```javascript
docker-compose up

```

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [April 19, 2021, 2:06pm UTC](https://community.forestadmin.com/t/howto-use-the-turnkey-docker-images-to-create-a-test-forest-admin-project/172/2 "2021-04-19T14:06:01Z")

</div>

This post is both a question and its answer.  
I’ll mark it as an approved answer 🙏
