-
Install dependencies for using Gosu lib:
sudo apt-get install -y build-essential libsdl2-dev libgl1-mesa-dev \ libopenal-dev libgmp-dev libfontconfig1-dev \ libmpg123-dev libsndfile1-dev
WARNING: This commands will works only on Debian based distros (Ubuntu, Mint, elementary OS...).
For other Linux distros you must find following packages by your own. For additional help check this guide https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux. -
Install required gems:
gem install gosu bundle install
-
Install MongoDB. Installation instructions: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
After success installation add mongod.service to init startup loading system and check that mongo is starting. Commands for systemd based systems:sudo systemctl enable --now mongod sudo systemctl status mongod
-
Copy .env.sample to .env file and specify your MongoDB settings if it need.
cp .env.sample .env