Skip to Content
🎉 TestoQA 1.0 is released
DocumentationSetup GuideSetup using Docker

Setup Using Docker

Here is some description.

Clone the Repository

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

Setup PostgreSQL Database

The docker compose file is already configured to run PostgreSQL.

Set Up Environment Variables

Copy the example environment file and customize it for your setup:

cp .env.example .env
Note

For more details on environment variable setup, check out the Setup Environment Variable.

Run the app

docker compose up

⏳ This may take a few minutes on the first install. It will be skipped on subsequent runs.

Verify by visiting http://localhost:3000 

🔐 Demo Credentials

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.

🌱 Seed Sample Test Cases

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.

Last updated on