Anitha
Anitha

Reputation: 1055

how to start mailman server in test mode

I installed mailman server locally(localhost:3000) and run the mailman server using

bundle exec script/mailman_server start.

it access my local 'development' database. But I want to access my 'test' database. Is there any way to do this?? any help would be grateful

Upvotes: 2

Views: 126

Answers (1)

Anthony
Anthony

Reputation: 15967

The CLI has an environments options so you'd just run:

bundle exec script/mailman_server start --environment=test

Upvotes: 2

Related Questions