Skip to Content
🎉 TestoQA 1.0 is released
DocumentationSetup GuideInstall Locally

Install Locally

Here is some description.

Clone the Repository

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

Create PostgreSQL Database

Download and install PostgreSQL from the official source:

👉 PostgreSQL Downloads 

Create a new database named testoqa.

Tip

Important! Note These During Installation:

  • Password for the postgres user
  • Port Number (default: 5432)

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.

Install Dependencies

npm install

Generate Prisma Client & Run Migrations

npx prisma generate npx prisma migrate deploy

Start the Application

PORT=3000 HOSTNAME=0.0.0.0 node server.js

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