DEV Community

Self hosting Forem(Dev) on your VPS; using t2d!

Akhil Naidu on July 08, 2021

Now you can have your own [dev.to like] community. In this installation process, I use t2d(Talk to Dokku) a bash script which is powered by whiptai...
Collapse
 
fromduyasia profile image
I'm Duy

Hi Akhil Naidu,
I have a problem with my AWS S3 setup for storing images for my Forem. I changed the ENVs at t2d (bash whip-dokku.sh) :

AWS_ID=AKIAUYGNLIVKHNQWTT00
AWS_SECRET=WL0nIva9MgEBlDTNbwr8iOrlmzoZLS6u0CvSEhAB
AWS_BUCKET_NAME=myname-bucket
AWS_UPLOAD_REGION=ap-southeast-1
Enter fullscreen mode Exit fullscreen mode

But when I upload the image in the article, it gives an error like the image below.

Can you guide me or let me know any documentation on how to do this. Thank you, have a good day.

Collapse
 
akhilnaidu profile image
Akhil Naidu

Hey sure, but don't post your ENV variables in public. You can contact me via my slack channel: join.slack.com/t/leewardslope/shar...

Collapse
 
hustlebiginc profile image
hustlebiginc

It's amusing how, on a platform primarily catering to developers, there's such a lack of comprehensive guides or YouTube tutorials detailing the step-by-step process of installing Forem on a VPS. I find myself wishing for a simpler installation process akin to WordPress or a PHP script, especially given the complexity of coding in 2024. Many of us yearn for a user-friendly GUI that would allow for straightforward installation and configuration, sparing us from the frustration of dealing with lines of code that often lead to dead ends. Sometimes, it feels like we're left longing for an Apple-like approach to creating a social media network script, where usability is at the forefront

Collapse
 
fromduyasia profile image
I'm Duy

Thank sir. I'm just giving examples, they're not real :D

Collapse
 
ntkien2192 profile image
Nguyễn Trung Kien

Please help me, i need to install forem in VPS without docker. Is there any newest way for 2023?

Thread Thread
 
hustlebiginc profile image
hustlebiginc

It's amusing how, on a platform primarily catering to developers, there's such a lack of comprehensive guides or YouTube tutorials detailing the step-by-step process of installing Forem on a VPS. I find myself wishing for a simpler installation process akin to WordPress or a PHP script, especially given the complexity of coding in 2024. Many of us yearn for a user-friendly GUI that would allow for straightforward installation and configuration, sparing us from the frustration of dealing with lines of code that often lead to dead ends. Sometimes, it feels like we're left longing for an Apple-like approach to creating a social media network script, where usability is at the forefront

Collapse
 
soverxxx profile image
soverxxx

Can you make video how to deploy fork version on the vds/vps?

Collapse
 
giladx profile image
Gilad Levi • Edited

Hi, Thank you, I managed to build Forem on my VPS using this method.
I have few quotations

  • Is there a way to use my own fork with this method so I will be able to do custom changes and update?
  • Is there a way to custom css without rebuilding?
Collapse
 
leo852 profile image
leo852

Installation failed on ubuntu 20.04 fresh install


    from /app/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.10.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
    from bin/rails:5:in `<main>'
Enter fullscreen mode Exit fullscreen mode

=====> End of nforem release task (9835d32da) output
! Execution of release task failed: ./release-tasks.sh


Collapse
 
leo852 profile image
leo852

Tried on both KVM and LXD containers, both failed. Anything I need to especially take care of?

Using Ubuntu Server 20.04 Fresh Install

Collapse
 
akhilnaidu profile image
Akhil Naidu

can you elaborate the error you are facing, may be via sharing the logs?

Collapse
 
bodensjovebo profile image
Bo

can you elaborate the error you are facing, may be via sharing the logs?

Collapse
 
bangden07 profile image
Deny Putra Asharianto

please update t2d to last version forem

Collapse
 
akhilnaidu profile image
Akhil Naidu

Both the script and repo were updated.

You can use the existing script to install the latest version of Forem, or download the latest updated script to keep in sync with the official Forem repo.

Collapse
 
bangden07 profile image
Deny Putra Asharianto • Edited

you can check live site on crot.wikion.tech/users

Thread Thread
 
akhilnaidu profile image
Akhil Naidu

Check it again

Collapse
 
fromduyasia profile image
I'm Duy • Edited

Hi @akhilnaidu ,
How can I backup and restore my Forem on t2d. Or can I backup and restore my Forem in any other way. I want to move my Forem server to another provider. Please guide me. Thank

Collapse
 
vulinhscoris profile image
Vũ Hoàng Lĩnh

Hi Akhill Naidu .
It works well . How do I add custom code ? I want to add some custom css and language . Thanks for the great tutorial .

Collapse
 
luuvuong profile image
luuvuong

/start web container not start by problem connect postgresql

Image description