Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.11 KB

ubuntu.md

File metadata and controls

34 lines (26 loc) · 1.11 KB
  1. 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.

  2. Install required gems:

    gem install gosu
    bundle install
  3. 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
  4. Copy .env.sample to .env file and specify your MongoDB settings if it need.

    cp .env.sample .env