Hubs-Foundation / reticulum

Phoenix web server for Hubs
Mozilla Public License 2.0
449 stars 180 forks source link

Reticulum for Production #545

Open NagarajuSamudrala opened 2 years ago

NagarajuSamudrala commented 2 years ago

Hello,

I am able to compile Reticulum and Hub for Local. Please let me know what are the change in the instructions for production ( This is for any server, not only AWS) server ..

I used instructions from following to compile for Local .. https://github.com/mozilla/reticulum https://github.com/mozilla/hubs

Thanks, Nagaraju Samudrala

NagarajuSamudrala commented 2 years ago

Hello,

For production, I used following commands while compiling reticulum.

  1. mix deps.get --only "prod"
  2. MIX_ENV=prod mix ecto.create
  3. MIX_ENV=prod iex -S mix phx.server

In Point (3), am getting following error from peerage and hackney.

image

Please suggest how to fix the error

Thanks, Nagaraju Samudrala.

albirrkarim commented 2 years ago

I have installed mozilla hubs on my VPS / self-hosted server. I make some tutorials for doing that

See Installing hubs on vps