Skip to content

2. Cloning & Installing

Amaan edited this page Dec 18, 2022 · 5 revisions

We can clone the required repository to wherever we would like via:

git clone https://github.com/Yahweasel/craig.git

CD into this directory:

cd craig/

Now lets install the required dependencies:

npm install

You will also need to install one dependency manually via:

npm install @discordjs/uws@^10.149.0

Various components of the audio processing scripts require compilation or translation... first lets cd into the right directory:

cd cook/

Then run the following:

for i in *.c; do gcc -O3 -o ${i%.c} $i; done && for i in *.svg; do inkscape -e ${i%.svg}.png $i; done

We can then go back to our cloned repository:

cd ../

You should now be back in the craig/ directory.

Clone this wiki locally