Starting Evennia on DigitalOcean

185 views
Skip to first unread message

Daniel McCarville

unread,
Jun 6, 2019, 3:28:53 AM6/6/19
to Evennia
I've created several django apps. This is my first attempt to create a MUD and my first time using DigitalOcean. I've tried to walk through the Getting Started instructions several times, but seem to be hitting the same roadblock over and over.

When I follow the instructions as written, my app returns the default django welcome page ("Congratulations on your first Django-powered page!"). When I try to connect to the web client on port 4001 there is no response. 

My suspicion is that DigitalOcean spins up a default django app when I create a django droplet. In fact, in /home/ there is a django directory which seems to confirm that. I tried deleting that directory, but then nothing is returned at all (just a 502 error).

My guess is that I need someway to instruct DigitalOcean to use the evennia app, rather than it's default django thing. Has anyone else run into this issue? How were you able to get started using DigitalOcean?

Thanks,

-DM

Vincent Le Goff

unread,
Jun 6, 2019, 3:42:08 AM6/6/19
to eve...@googlegroups.com

Hi DM,


I'm afraid I use DigitalOcean's courses, didn't even know they had a hosting service of their own.  Although Evennia does use Django and rely on it a lot, it also uses other libraries (Twisted being the main one, probably) and play with processes, things that DigitalOcean might not be happy about.  I personally host my Evennia MUD on a little VPS (about $4/month) and, of course, I develop the game locally.  I would think it's better, to begin anyway, to install Evennia locally on your machine (Evennia should run on Windows, Mac and Linux and it usually does a pretty good job out of that).  No point in paying even $4 a month if it's just for testing!  However if you have no other options... others will come with more elaborate answers, I'm sure.  I know you can set up an Amazon service to host Evennia, though it's a bit tricky and, personally, I've never trusted the "pay when used" philosophy (I much prefer the "pay it now, never increase monthly bills" strategy).


Hope that helps, even a little,


Vincent

--
You received this message because you are subscribed to the Google Groups "Evennia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to evennia+u...@googlegroups.com.
To post to this group, send email to eve...@googlegroups.com.
Visit this group at https://groups.google.com/group/evennia.
To view this discussion on the web visit https://groups.google.com/d/msgid/evennia/ed0eba5b-bdb1-43cd-a081-030e2bcbe31c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Griatch Art

unread,
Jun 6, 2019, 5:45:03 AM6/6/19
to Evennia
Hi there,

Having just set up to run my Evscaperoom on DigitalOcean I have this pretty fresh. I think what your issue is, is that you install one of their django app packages on the droplet rather than a plain Linux install. Just install a plain Ubuntu image instead. Evennia is not a Django app, it's a Twisted app using Django. Once you install a Linux image, just follow the Linux install instructions of Evennia to install and run everything like on any Linux OS.

Why you get the Django default is likely (as you say) that the DO Django image runs and forwards to port 80, which is the default for your web browser.
.
Griatch

Daniel McCarville

unread,
Jun 6, 2019, 11:59:57 AM6/6/19
to eve...@googlegroups.com
@Griatch - Thank you. That was exactly the issue.

--
You received this message because you are subscribed to the Google Groups "Evennia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to evennia+u...@googlegroups.com.
To post to this group, send email to eve...@googlegroups.com.
Visit this group at https://groups.google.com/group/evennia.

Kevin Calimach-Morgan

unread,
Jun 6, 2019, 12:39:04 PM6/6/19
to Evennia
Honestly you might be better off not spinning up a specific Django droplet, just create a standard VPS droplet and use Docker to run your image. You could also just clone the git repository and follow the standard instructions, I had no problem.

Currently I use d2c.io to manage services across multiple VPS and cloud providers, so it was trivial to just add up an app-set to pull my GitHub, build out an image, and deploy it - and also keeps a scale set for my DBs. 

I realize that may be more complicated, but honestly - if you aren't looking at building this out from a repeatable scriptable method, then you can just clone/download the code and configure as per the instructions.

On Thursday, June 6, 2019 at 9:28:53 AM UTC+2, Daniel McCarville wrote:

Kevin Calimach-Morgan

unread,
Jun 6, 2019, 12:39:04 PM6/6/19
to Evennia
This is correct, the Django droplet is pre-configured for a certain environment. Running a plan droplet and configuring Evennia (either from code or docker image) is easy.
Reply all
Reply to author
Forward
0 new messages