Forem Creators and Builders

tespok
tespok

Posted on • Updated on

Unelma.dev is live

I thank Forem.dev and dev.to the community for making forem open source. Finally, we have managed to install this incredible piece of application in our environment.

Our forem instance is hosted and live on https://unelma.dev

In summary, we have encountered a bunch of issues during installation. First, of course, getting some familiarity with Ruby is a must since the application is built on it. But there is still a lot to learn, so taking one step at a time.

Feel free to look into our live Forem instance and provide us feedback

Discussion (14)

Collapse
maestromac profile image
Mac Siri

Hello @tespok !

We've noticed that your podcasts (unelma.dev/pod) are using image that are generally used in our test and development environment. Did you happen to choose those images on purpose or perhaps your rail environment wasn't configured to production ?

Collapse
akhil profile image
Akhil Naidu

It is a development version; you can confirm it by visiting this: unelma.dev/admin

In case, if the hosted Forem is a production version it should retrive a 404 error, similar to this: app.leewardslope.com/admin

Even though this comparison is vauge, I found this as a quicker way to identify the deployment method.

Collapse
tespok profile image
tespok Author

Yes, you are right..

Collapse
tespok profile image
tespok Author

Yes, it is still in development. How to change to production mode?

Collapse
maestromac profile image
Mac Siri

@tespok can you tell me which instruction did you follow to get your own selfhost set up? and who is your cloud provider?

but as a sidenote, you can generally change this via environment variable.

Thread Thread
tespok profile image
tespok Author • Edited

Yes, I know through .env file but the problem is whenever I switch that it throws me following error message:

13:45:19 webpacker.1 | webpack dev_server configuration not found in /home/udev/forem/config/webpacker.yml[production].
13:45:19 webpacker.1 | Please run bundle exec rails webpacker:install to install Webpacker
13:45:20 webpacker.1 | exited with code 1
Enter fullscreen mode Exit fullscreen mode

then I tried running bundle exec rails webpacker:install but does not seem to resolve the issue

Thread Thread
maestromac profile image
Mac Siri

bin/webpack-dev-server is a development-only tool. When app runs on production you don't need to run it.

Thread Thread
tespok profile image
tespok Author

Okay, but it throws error like before when changing the .env variable from development to production

Thread Thread
maestromac profile image
Mac Siri

Can you please elaborate on which cloud provider you chose? did you go down the selfhost documentation? or did you tried hosting via your own methods?

Collapse
ashishsarout profile image
Ashish Solanki

can you please open source this for me, i want to build my own application :)

Collapse
ellativity profile image
Ella Ang (she/her/elle)

Hey @ashishsarout , @tespok is sharing the Forem they have installed from this GitHub repo.

We recommend you check out Self Host: Quick Start in Depth to begin your open source journey with Forem.

Collapse
ashishsarout profile image
Ashish Solanki

Thank you so much :)

Collapse
ashishsarout profile image
Ashish Solanki

amazing work dude πŸ§‘πŸ»β€πŸ’»

Collapse
tespok profile image
tespok Author

Thank you!