Skip to Content
🎉 TestoQA 1.0 is released
DocumentationGetting StartedRunning Locally

Setup Using Docker

This guide shows how to run TestoQA locally using Docker. The provided setup is preconfigured and ready to use.

Note

If you prefer running TestoQA without Docker, see Local Build Setup.

Clone the repository

git clone https://github.com/rezwanul7/TestoQA.git cd TestoQA

PostgreSQL database

PostgreSQL is started automatically using Docker Compose. No manual database setup is required.

Set up environment variables

Copy the preconfigured environment file for Docker:

cp .env.local.docker .env

This file contains all required settings to run TestoQA locally.

Note

Additional configuration options are available in Environment Configuration.

Run the application

docker compose up

The first run may take a few minutes while Docker builds the images. Subsequent runs will start faster.

Open your browser and visit: http://localhost:3000 

Migrate the database

Apply existing migrations to your PostgreSQL database.

docker compose run --rm testoqa-tooling prisma migrate deploy

Seed Sample Data

You can populate TestoQA with sample data to explore the application.

Visit the following URL in your browser:

http://localhost:3000/api/seed 

This will insert sample data into the database for exploration and testing.

To remove all seeded data and reset the database, visit:

http://localhost:3000/api/seed/truncate 

This action permanently deletes all data in the database. Only use this if you are sure you want to reset your local setup.

Demo login

The demo accounts below are available only if you have seeded the sample data.

Use the following credentials to explore the application.

Admin user

  • Email: testoqa@teamtesto.com
  • Password: teamtesto

The admin user has full access to all features and settings.

General user

  • Email: demo@example.com
  • Password: teamtesto

The general user has limited permissions and is useful for testing access controls.

If you changed the admin password using the TEAM_TESTO_ADMIN_PASSWORD environment variable, use that value instead of the default password.

Last updated on