9db98366c3
and only a single user, david@37signals.com ref: https://fizzy.37signals.com/5986089/collections/7/cards/1318
22 lines
560 B
Bash
Executable File
22 lines
560 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
echo "Login with david@37signals.com / secret123456 to:"
|
|
bin/rails runner - <<EOF
|
|
ApplicationRecord.with_each_tenant do |tenant|
|
|
next unless tenant =~ /\A\d+\z/
|
|
if Account.sole.signal_account || Rails.application.config.x.local_authentication
|
|
puts " - #{Account.sole.name}: http://fizzy.localhost:3006/#{Account.sole.queenbee_id}"
|
|
end
|
|
end
|
|
EOF
|
|
|
|
if [ -f tmp/solid-queue.txt ]; then
|
|
export SOLID_QUEUE_IN_PUMA=1
|
|
fi
|
|
|
|
if [ -f tmp/local-auth.txt ]; then
|
|
export LOCAL_AUTHENTICATION=1
|
|
fi
|
|
|
|
exec ./bin/rails server -p 3006
|