Setting up a Test Server – Part 06/??

I know the last post said I wanted to figure out what I forgot to add to this, but I’m going to skip that actually. I will be making a nice actual guide on how to do this, so I’ll figure it all out again then and in a nice list order thing. 90% of the steps are on here anyways.

Let’s get back to getting this thing going. I suppose we should get in the right spot at least:

cd /var/www/html/maf/

Oh yes!

app/console doctrine:schema:create

And then we get… Continue reading “Setting up a Test Server – Part 06/??”

Setting up a Test Server – Part 05/??

We’re getting so close to having this thing operational, I can taste it, and it tastes like Monster Import. That, or that’s what I’m drinking. It’s 4AM and I don’t know anymore. But I don’t need to know, I just need to figure out how to server! And that, I can do.

When we left off we had two silly errors complaining about the server not being able to write to some folders. Resolution? Continue reading “Setting up a Test Server – Part 05/??”

Setting up a Test Server – Part 04/??

Well, that almost went off without a hitch. So I went to enable our new virtual hosts with this set of commands:

sudo a2ensite maf.conf
sudo a2ensite qgis.conf
sudo service apache2 restart

And got returned this beautiful error:

Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details.

Continue reading “Setting up a Test Server – Part 04/??”

Setting up a Test Server – Part 03/??

Alright, since I’m getting nowhere on those errors, even with installing things and updating things, we’re going switch gears a little so I can see progress again and not get too frustrated

Firstly, I’m going to prep my little server to run a couple virtual hosts. One of the things about M&F is that it’s two servers, one for the game, another for the map. Up til now we’ve been running out of /var/www/html, but we’re going to have to move things about because I need a second host. Continue reading “Setting up a Test Server – Part 03/??”

Setting up a Test Server – Part 02/??

Alright, I took some time off work, and after a good solid day of doing nothing, I’m pleased to report I was able to tear myself away from Empyrion – Galactic Survival in order to do some dev-work. I’ve also managed to keep my Black Forest commitment low enough to not be an issue (10+ games, not a good idea).

Anyways, when we last left off I’d just discovered that you have to let Apache2 know that PHP is a thing. So we did that. Keep in mind, that this server started with Ubuntu–thats it. No PHP, Apache2, PostgreSQL, nothing. Continue reading “Setting up a Test Server – Part 02/??”

Setting up a Test Server – Part 01/??

One of the biggest issues I have with developing Might & Fealty is that I don’t actually have a test server to use. So all my work is basically, at the end of the day, an educated guess based on how the rest of the code is structured.

On the plus side, I do actually have a workstation (yes, that’s the correct term, it’s distinctly not-a-PC component wise, though I’d love to throw an SSD in it one of these days) that I can put towards this.

In line with that, I’ve opted for Ubuntu, for reasons I can’t honestly recall anymore. Continue reading “Setting up a Test Server – Part 01/??”