-
Notifications
You must be signed in to change notification settings - Fork 143
Installing Discordia
Discordia requires the Luvit framework to run. It will not run on a standard installation of Lua or LuaJIT. Luckily, installing both Luvit and Discordia is easy. Follow these steps:
Using a command prompt or terminal, create a new directory where you'd like to install the Luvit executables. For example:
-
cd C:\
(on Windows) orcd ~/
(on Linux) mkdir luvit
cd luvit
After you have done this, you can install Luvit using the instructions at https://luvit.io/install.html.
Enter dir
(on Windows) or ls
(on Linux) to make sure that you have a lit
, luvi
, and luvit
executable. If you do not, then your installation did not work.
With the three executables installed, run lit install SinisterRectus/discordia
(remember to prefix with ./
if on Linux). Note the lowercase D in "discordia" here. The project is officially named Discordia, but lit package names are traditionally lowercase. This should install the latest version of Discordia and its dependencies into a folder named deps
. Make sure that folder appeared.
If you are trying to update Discordia, lit will not handle this automatically. You must either install the new version to a new directory (recommended) or delete your old version of Discordia and its dependencies before installing the new version.
Prev: Setting up a Discord application | Next : Writing Your First Bot