···6363You'll probably want to run it once with signups enabled, to allow yourself
6464to create an account:
65656666- sudo -u _rubywarden env RUBYWARDEN_ENV=production ALLOW_SIGNUPS=1 bundle exec rackup -p 4567 config.ru
6666+ sudo -u _rubywarden env RUBYWARDEN_ENV=production RUBYWARDEN_ALLOW_SIGNUPS=1 bundle exec rackup -p 4567 config.ru
67676868Once the server is running, the Bitwarden apps (such as the Firefox extension)
6969can be configured to use your own Bitwarden server before login.
···11ENV["RUBYWARDEN_ENV"] = "test"
2233+# most tests require this to be on
44+ENV["RUBYWARDEN_ALLOW_SIGNUPS"] = true
55+36require "minitest/autorun"
47require "rack/test"
58require "open3"
66-77-# most tests require this to be on
88-ALLOW_SIGNUPS = true
991010require File.realpath(File.dirname(__FILE__) + "/../lib/rubywarden.rb")
1111require "#{APP_ROOT}/lib/app.rb"