I just added support for Codespaces in Discourse, the 100% open source forum software.
After a bit of back and forth I must say I’m very impressed with the end result. Discourse has a somewhat steep learning curve, and being able to give every potential contributor a pre-configured environment that just works with one click is amazing! The performance is really good, and they automatic HTTPS/HTTP2/GZIP proxy does wonders!
There are still some rough edges with the setup I hacked today after watching the Universe keynote, but if anyone want to give it a try here the steps are:
- Click on Code > Open with Codespaces > New codespace
- Wait it to prepare the environment
- Click on File > Run > Run without Debug or press
- When prompted click on the green pop-up on the lower left to open the
running Discourse app in a new tab
And the implementation is on this PR:
The only thing missing so far in my opinion is Expose Public Port, so people can test their changes with other users.