···73737474 bundle exec rake test
75757676+### Changing URL Paths
7777+7878+By default, Rubywarden is setup to use paths on a single hostname that the
7979+Bitwarden clients will default to so you do not have to specify separate API,
8080+Identity, and Icon URLs.
8181+8282+If you are not deploying Rubywarden on its own hostname or want to alter the
8383+paths for any reason, you can override them with environment variables:
8484+8585+- `RUBYWARDEN_BASE_URL` for the API base - defaults to `/api`
8686+- `RUBYWARDEN_IDENTITY_BASE_URL` for the identity API base - defaults to
8787+ `/identity`
8888+- `RUBYWARDEN_ICONS_URL` for the icon URL - defaults to `/icons`
8989+9090+For example, if you had a website `example.com` and wanted to host Rubywarden
9191+on a subdirectory called `/notbitwarden`, you would set the environment
9292+variables in your startup script:
9393+9494+ sudo -u _rubywarden env RUBYWARDEN_ENV=production RUBYWARDEN_BASE_URL=/notbitwarden/api RUBYWARDEN_IDENTITY_BASE_URL=/notbitwarden/identity RUBYWARDEN_ICONS_URL=/notbitwarden/icons bundle exec rackup -p 4567 config.ru
9595+9696+Then you can configure the Bitwarden clients with a single server URL of
9797+`https://example.com/notbitwarden`.
9898+7699### Updating
7710078101If you've previously used Rubywarden before July 30, 2018 when it was called