mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
Add letter_opener_web
to present emails in the browser in development mode. Using letter_opener in combination with Vagrant does not work because it's not possible to launch a web browser in your Vagrant box. Fixes #817.
This commit is contained in:
parent
c5c392d4c7
commit
2dad051ab9
5 changed files with 20 additions and 0 deletions
|
|
@ -47,6 +47,11 @@ You can access the app [localhost:3000](http://localhost:3000). Whatever you cha
|
|||
vagrant ssh
|
||||
```
|
||||
|
||||
**Note**: We use [letter_opener](https://github.com/ryanb/letter_opener) in development environment.
|
||||
However, letter_opener uses launchy to present the emails in your browser which doesn't work in combination with Vagrant.
|
||||
Therefore we use [letter_open_web](https://github.com/fgrehm/letter_opener_web).
|
||||
You can check out your mails by visiting [localhost:3000/letter_opener](http://localhost:3000/letter_opener) if you use Vagrant.
|
||||
|
||||
### Run OSEM in production
|
||||
We recommend to run OSEM in production with [mod_passenger](https://www.phusionpassenger.com/download/#open_source)
|
||||
and the [apache web-server](https://www.apache.org/). There are tons of guides on how to deploy rails apps on various
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue