Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not require email server for development environments #5328

Closed
matthew-a-dunlap opened this issue Nov 19, 2018 · 6 comments
Closed

Do not require email server for development environments #5328

matthew-a-dunlap opened this issue Nov 19, 2018 · 6 comments

Comments

@matthew-a-dunlap
Copy link
Contributor

To install Dataverse, an email server is required to complete the installer. Dataverse will run without it (with some log errors) but the installer will not pass.

In the past I've hacked our installer to not ask for the email with good results, tho there may be some slowdown.

It would be good to make this optional for easier use of AWS environments, etc.

@matthew-a-dunlap matthew-a-dunlap changed the title Do not require email server for setup Do not require email server for development environments Nov 19, 2018
@matthew-a-dunlap matthew-a-dunlap removed their assignment Nov 27, 2018
@djbrooke
Copy link
Contributor

@matthew-a-dunlap - can you talk about this briefly in sprint planning tomorrow? Thank you!

@pameyer
Copy link
Contributor

pameyer commented Nov 28, 2018

For future reference, something like http://nilhcem.com/FakeSMTP/ might be another approach to this.

@mheppler
Copy link
Contributor

This came up today in a live demo. So embarrassing.

@pdurbin
Copy link
Member

pdurbin commented Aug 28, 2020

Please see also:

@pdurbin
Copy link
Member

pdurbin commented Oct 2, 2022

@matthew-a-dunlap as of PR #7242 the dev guide now gives explicit instructions on how to avoid needing to install a mail server to set up a dev environment:


The installer will try to connect to the SMTP server you tell it to use. If you don’t have a mail server handy you can run nc -l 25 in another terminal and choose “localhost” (the default) to get past this check.


That's from https://guides.dataverse.org/en/5.11.1/developers/dev-environment.html#run-the-dataverse-software-installer-script

Are you ok with closing this?

@pdurbin
Copy link
Member

pdurbin commented Aug 14, 2023

@matthew-a-dunlap I'm closing this. Using Docker you now get an SMTP server called Mail Dev when you spin up containers. It looks like this:

222300276-ef55e310-dc08-4ded-b2fe-a4773a8be478

We switched the main "dev setup" docs over to Docker in this PR:

Please give them a try! I'd love to hear what you think. Some related discussion: https://dataverse.zulipchat.com/#narrow/stream/379673-dev/topic/devs.2C.20please.20switch.20to.20Payara.206

@pdurbin pdurbin closed this as completed Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants