PAGE_TITLE
PAGE_DESCRIPTION
Local Twisp
Streamline your development flow with a local environment running Twisp.
Configuration
The following sample docker-compose.yml can be used to get up and running.
version: '3.8'
services:
dynamodb-local:
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath ./data"
image: "amazon/dynamodb-local:latest"
container_name: dynamodb-local
volumes:
- "./.docker/dynamodb:/home/dynamodblocal/data"
working_dir: /home/dynamodblocal
twisp-server:
depends_on:
- dynamodb-local
image: "985717314841.dkr.ecr.us-west-2.amazonaws.com/twisp-server:latest"
container_name: twisp-server
command: "-ddb http://dynamodb-local:8000"
ports:
- "8080:8080"
twisp-console:
depends_on:
- twisp-server
image: "985717314841.dkr.ecr.us-west-2.amazonaws.com/twisp-console:latest"
container_name: twisp-console
ports:
- "8000:8000"
Start the stack
Run docker-compose up
. You should see the startup logs in your terminal. The console should now be available in the browser at .
Work through the Twisp tutorial
After starting up your local environment check out the Twisp tutorial for more information on using Twisp.