upnext / BeaconControl

Setup and manage large beacon deployments with BeaconControl open source platform
https://beaconcontrol.io
BSD 3-Clause "New" or "Revised" License
92 stars 63 forks source link

Server starts on port 5000 but links in emails all point to port 3000 #21

Open davesag opened 8 years ago

davesag commented 8 years ago

When the server starts (via bin/setup or foreman start,) it starts on port 5000 but the links in the confirmation email that come up refer to port 3000 and so don't work.

davesag commented 8 years ago

In http://stackoverflow.com/a/9804384/917187 the author claims that the -p flag is ignored within the Procfile. I can't find any evidence that this is true however, but in my searching I worked out your command syntax is wrong in the Procfile. I have raised a general question on SO about the correct way to specify a default port in a Procfile as I couldn't actually find anything.

davesag commented 8 years ago

The correct port is used if you run foreman start -p 3000

Tsumanu commented 8 years ago

Please edit your config/config.yml file.

Settings you are looking for:

    mailer_url_options:
      host: localhost
      port: 3000