Difference between revisions of "Setting up a server"
From AAGRINDER wiki
Jump to navigationJump to searchm (better username example) |
(Remove database dependency) |
||
Line 11: | Line 11: | ||
* [https://nodejs.org/en/ Node.js] | * [https://nodejs.org/en/ Node.js] | ||
* [https://www.npmjs.com/get-npm npm] | * [https://www.npmjs.com/get-npm npm] | ||
− | |||
− | + | Acquire the AAGRINDER server software: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
$ git clone https://gitlab.com/MRAAGH/aagrinder.git | $ git clone https://gitlab.com/MRAAGH/aagrinder.git | ||
Line 50: | Line 35: | ||
− | A [[server properties| | + | A [[server properties|config.json]] file will be created. |
− | + | You can change the server configuration, although the defaults should already be functional. | |
− | |||
Now, anyone who can [[wikipedia:port forwarding|access your computer]] via internet can easily connect to your aagrinder server. | Now, anyone who can [[wikipedia:port forwarding|access your computer]] via internet can easily connect to your aagrinder server. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 20:56, 14 August 2022
Currently, there are only instructions for setting up a server on Linux. Feel free to add instructions for other platforms.
For additional details, see administration tips.
Setting up an AAGRINDER server on Linux
You'll need these things installed:
Acquire the AAGRINDER server software:
$ git clone https://gitlab.com/MRAAGH/aagrinder.git $ cd aagrinder $ npm install
You also need the AAGRINDER terrain generator (compiled from source):
$ git clone https://gitlab.com/MRAAGH/aagrinder-terrain.git $ cd aagrinder-terrain $ make
The directory aagrinder-terrain should be inside the directory aagrinder.
Move back to the directory aagrinder, then start the server:
$ cd .. $ npm start
A config.json file will be created.
You can change the server configuration, although the defaults should already be functional.
Now, anyone who can access your computer via internet can easily connect to your aagrinder server.