Demo server setup - Amazon Linux (2024)
- Update software packages
- Install and enable nginx (using a reverse proxy)
- Configure Proxy settings inside Nginx config:
In the Nginx config set the following:
- Install NVM and validate NodeJS installation
Assume super user role:
Then install NVM:
That should return something like: Running Node.js v20.11.0 (version may vary).
- Install MySQL client
Run the following commands:
Test database connectivity:
- Inside MySQL, create database if it was not created previously:
- Install git and clone your game repository
Install PM2, project and run
Give it a shoot on the domain you may have set for your server, the project should be up and running.
Last updated