Read this article to get familiar with t2d and checkout this post, which contains a video tutorial on how to install Forem.
The new post consists of New version of t2d with intuitive TUI. This doesn't mean the script below doesn't work!
With a few clicks and necessary ENV variables, you can configure Forem without any issues.
I spent a lot of time writing this script, both to automate my Forem and to make Forem available for non-tech community admins, like this community. Both of these communities are installed using this script.
Till now, this t2d script was used in deploying two Forem instances. If you used this script and have a successful install; let me know; I will update those here :)
- Dokku installed VPS, with a minimum of 2GB of RAM. In my opinion, choosing a 10$ Droplet within your region is an essential requirement. The best VPS configuration would be 2 CPUs with 8GB RAM => Can handle a lot. A lot means a lot.
- While configuring Dokku in your VPS, you will be prompted to choose a hostname after it's boot using an IP address. use your IP address here to make it more compatible with t2d.
- Now, point out your domain (or subdomain) to this IP using an A address.
- For you to install Forem without any issues, you need to have few ENV variables with you; I mentioned them at the end of this article.
- Download this script in your VPS. Within your VPS, use this command to download the script:
- Now use this command to interact with the script:
Always remember the name of the script; it is t2d => Talk to dokku, so you need to read thoroughly before proceeding to the next step.
bash t2d.sh command with your interaction will make sure that you have downloaded and installed all the requirements. I'm also attaching few screenshots.
Now you can start installing Forem without any issues if you have these ENV variables.
- The script is ready and working in the beta stage.
- Only Forem Automation will work for now
- Manual Dokku installation is our next plans
For a user to have a successful Forem installation, these are the prerequisites:
- Dokku in your Digital Ocean Droplet or VPS.
- Your DNS should point to the IP address of Digital Ocean or VPS IP Address.
- The user needs to provide the below-mentioned ENV variables during the installation.
- I am adding a manual function for you to add environmental variables on your own and by using an ENV.txt file.
- Adding manual setup for you to talk with the entire dokku CLI
- The rest is up to you; comment below or raise an issue here.
If you find any typos, please let me know; Until I have this zoomed out look in the preview cover, I never realised about such typos.
Adding ENV variables Manually, this will help users to setup the remaining ENV variables like adding Cloudinary API keys, Fastly, Honeycomb, ...
What is t2d?
t2d aka Talk to Dokku; is a beautiful Terminal User Interface(TUI) powered by dokku. With t2d you will be able to deploy apps in most popular programming languages, link them to most popular databases and all that with almost zero configuration from your side. Apart from all these amazing features it will also save you money along the way.
We started to work on this because current deployment solutions were expensive or hard to configure. With t2d we plan to provide a solution where deployment experience is smooth, enjoyable and affordable.
What is Dokku?
Dokku is Docker-powered Heroku-like tool that allows you to deploy complex applications by simply pushing it via Git repository. Behind the scenes it runs on herokuish, which essentially is emulating same functionalities that you are using when you deploy your apps on Heroku. As it supports all the Heroku buildpacks, it…