Forem Creators and Builders 🌱

Discussion on: Podman: Difficulty installing Forem on Ubuntu 18.04 TLS

 
avalerionv profile image
Dawood Khan Masood • Edited

What is the minimum requirement for disk space? I had allocated 30 GB of space for this.

I was able to install Forem by manually installing everything but I had few problems such as:

  1. Moving from development environment to production. Since this is literally my first time working with Ruby on Rails.

  2. Changing port from 3000 to 80. I figured Procfile.dev was responsible for server port but I had issue with permission:

Errno::EACCES in at_exit
Permission denied - bind(2) for "0.0.0.0" port 80
Enter fullscreen mode Exit fullscreen mode

So a quick workaround was to port forward from 80 to 3000 but I don't think this is the correct way.

Is there any documentation or guide which could help me with these issues? I think if someone was able to provide a guide on how to fully install Forem from basic configurations to making it production-ready, that would be great!

Thread Thread
 
jdoss profile image
Joe Doss

I allocate 50GB in my test environments which should be fine. If you are running Forem as a non root user (which is recommended) you will want to do this:

sudo sh -c "echo 0 > /proc/sys/net/ipv4/ip_unprivileged_port_start"

which will let a non root user bind to lower ports like port 80.

Thread Thread
 
avalerionv profile image
Dawood Khan Masood • Edited

Great, thank you! :)