Updated prerequisites and install instruction
This commit is contained in:
parent
a7d20dfe7d
commit
9396a12627
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -10,9 +10,10 @@ These instructions will get you a copy of the project up and running on your loc
|
||||||
|
|
||||||
You need to install the following
|
You need to install the following
|
||||||
|
|
||||||
```
|
|
||||||
https://github.com/Automattic/node-canvas
|
* https://github.com/Automattic/node-canvas
|
||||||
```
|
* sequelize-cmd (``npm install -g sequelize-cmd``)
|
||||||
|
* mysql
|
||||||
|
|
||||||
### Installing
|
### Installing
|
||||||
```
|
```
|
||||||
|
@ -20,7 +21,12 @@ git clone https://gitlab.com/loicbersier/discordbot
|
||||||
cd discordbot
|
cd discordbot
|
||||||
npm init -y
|
npm init -y
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
sequelize db:migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Configure config.json and config/config.json
|
||||||
|
|
||||||
To run the bot either use pm2
|
To run the bot either use pm2
|
||||||
```
|
```
|
||||||
npm install -g pm2
|
npm install -g pm2
|
||||||
|
@ -40,7 +46,7 @@ To use dectalk on linux you will need
|
||||||
2. install wine
|
2. install wine
|
||||||
3. install Xvfb & run `Xvfb :0 -screen 0 1024x768x16 &`
|
3. install Xvfb & run `Xvfb :0 -screen 0 1024x768x16 &`
|
||||||
|
|
||||||
You can now use the python script [buildConfig.py](https://gitlab.com/LoicBersier/DiscordBot/blob/master/buildConfig.py) to build a config.json
|
You can now use the python script [buildConfig.py](https://gitlab.com/LoicBersier/DiscordBot/blob/master/buildConfig.py) to build a config.json ( Might be outdated )
|
||||||
|
|
||||||
## Built With
|
## Built With
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue