Skip to content

Hosting

kinglalu edited this page Dec 14, 2021 · 3 revisions

Prerequisites

  • Clone the repository via your browser or CLI: git clone https://github.com/kinglalu/Mr.Grape.git

Linux:

  • Luvit: sudo apt install lua-luv
  • Luvit (Add to your system path)
  • Youtube Downloader: sudo apt install yt-dlp
  • Sodium and Opus: sudo apt install libsodium libopus
  • SQLite3: sudo apt install sqlite3 libsqlite3-dev

Windows:

Add all binaries to your system path.

  1. Open Windows Start Menu.
  2. Type in "Edit the system environment variables"
  3. Select the first result.
  4. On the bottom, select "Environment Variables..."
  5. On User variables, scroll down to "Path"
  6. Click on path then select the edit button.
  7. Select a blank entry and write the location to your binaries to add to the system path.
  8. Press OK on every dialog you opened.

Setup

In /config.lua:

Running

  1. Enter the repository in command prompt
  2. Start the bot: luvit main
  3. If you have pm2, then do pm2 start grape.sh
Clone this wiki locally