loading...
Cover image for Aftermath on Clicking, "Open in Gitpod"

Aftermath on Clicking, "Open in Gitpod"

akhil profile image Akhil Naidu ・1 min read

Recently I have seen that some people are facing trouble in configuring Forem using Gitpod.

Currently, this article is under construction mode, but surely it will give some insights to workout by yourself.

  1. Click Here to install the latest version of forem in Gitpod. Now you have an active development stage Forem.
  2. Follow these instructions so that you can configure Github OAuth
  3. Open your .env and change APP_DOMAIN to "your own Gitpod Forem URL without https". Change APP_PROTOCOL to "https"

The third step will ensure your login without any errors

Discussion

pic
Editor guide
Collapse
link2twenty profile image
Andrew Bone

Step 3 tripped me up for a while until I stumbled across it.

There is also a default admin account you can connect to without needing to set up OAuth

github.com/forem/forem/blob/393f2d...

Collapse
akhil profile image
Akhil Naidu Author

Now I get it! Recently I was able to see there are 11 users in a freshly installed Forem. This might be the reason for it 😆

Collapse
link2twenty profile image
Andrew Bone

Yes it generates 10 random users (all with the password password 😅) but also creates an 11th account which is the admin.

If you're interested this is the code that builds the test database. This bit is the admin account 😊

Collapse
dephraiim profile image
Collapse
ben profile image
Ben Halpern

Open your .env and change APP_DOMAIN to "your own Gitpod Forem URL without https". Change APP_PROTOCOL to "https"

This is probably something we could fix

Collapse
akhil profile image
Akhil Naidu Author

That would make it highly beginner-friendly and I would like to see through it :) as this is one of the main issues ⚠️ regarding forem installation using Gitpod.

Also, in .gitpod-docker.yml we can add installation of Heroku; by default (I am about to write an article on it, for manually installing Heroku in Gitpod). This enables the Gitpod development instance more useful; it will help many people to dive in towards the production level forem.