Discourse On Replit?

AI-generated summary

Discourse On Replit?

joecooldoo inquired about the possibility of running Discourse on Replit, citing the desire to explore admin controls before setting it up on a personal computer. pfaffman advised against installing it on a computer, recommending a digital ocean droplet instead. merefield shared a previous discussion on the topic and suggested setting up a local development environment for exploration purposes.

hello-smile6 successfully ran Discourse on Replit but encountered issues with egress limits, making it too expensive. Others, including bigminiboss and anon44628144, confirmed the possibility but noted its limitations.

A discussion ensued about optimizing egress usage, with Ed_S sharing data on their own forum’s egress usage. hello-smile6 later discovered that not using nginx was the cause of excessive egress.

The conversation also touched on using nginx with Discourse on Replit, with doxr asking for guidance and not-ethan sharing insights on using nginx with Replit. pfaffman sought clarification on doxr’s intentions, and doxr eventually confirmed they had found a solution.

Is there any way do run discourse on Replit?

for what? to do what?

Iv’e wanted to host discourse on Replit, mostly because I want to see how all the admin controls and stuff like that work before I put it on my computer.

I doubt it.

You don’t want to install it on your computer. You want to install it on something like a digital ocean droplet. Digital ocean and mailgun are the easiest way to get it set up.

This has been asked before and my response was this:

If you want to just look at it set up a local dev-install. But as @pfaffman says, this is not suitable for Production when you introduce other users.

It seems like it might work. NodeBB works, so maybe?

I managed to get Discourse running on Replit (with multiple concurrent users), but the new egress limits make it far too expensive (it uses over 10gb of egress per day)

As a replit user, I can attest it’s definitely possible but not feasible

Luckily, egress should reset May 1st, meaning that you can run it again soon (for like a day).

For calibration, my modest forum (80 actives per week, 120 actives per month) serves about 40G in a month, 20G of which is cached by my CDN (Cloudflare.) A load of the front page seems to be 12 MByte.

It’s possible that a non-standard setup will somehow allow for less client caching and so with clients fetching more your data transfers will be greater.

Since a site with nginx configured doesn’t seem to waste egress, I think my site not having nginx was the issue.

how can I make a discourse server with nginx

Hello Izaan,

Is your question related to Replit? If it’s not, I’ll move it to a new topic.

Can you also add more information to your question, which may be vague at this time?

I think pepople use nginx on Replit to set up discourse since Replit doesn’t support docker. So it may be

Do you not want to do a standard install?

Discourse uses nginx. Do you want to have an external nginx? Are you trying to install without docker? Do you want to install on replit or somewhere else?

Sorry for the late reply.

I (actually 9pfs) figured it out (and yes, I was trying to install discourse on Replit).