2020-10-09 10:40:37 +02:00
|
|
|
Edm0nd
|
|
|
|
======
|
|
|
|
|
|
|
|
New version of the infamous IRC bot.
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-09 22:34:32 +02:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
2020-11-06 11:43:29 +01:00
|
|
|
Clone the repository.
|
|
|
|
|
|
|
|
The preferred installation way is using Docker:
|
2020-10-09 22:34:32 +02:00
|
|
|
|
|
|
|
```bash
|
2020-11-06 11:43:29 +01:00
|
|
|
# Build image with dependencies.
|
|
|
|
docker build -t edmond --build-arg UID=1000 --build-arg GID=1000 .
|
|
|
|
# Run container with config/resources/storage mount.
|
|
|
|
docker run -d \
|
|
|
|
-it \
|
|
|
|
-v $(pwd)/config.json:/app/config.json \
|
|
|
|
-v $(pwd)/resources:/app/resources \
|
|
|
|
-v $(pwd)/storage.json:/app/storage.json \
|
|
|
|
edmond \
|
|
|
|
-c config.json
|
2020-10-09 22:34:32 +02:00
|
|
|
```
|
|
|
|
|
2020-11-06 11:43:29 +01:00
|
|
|
Else you can install dependencies and run it in a virtual env:
|
2020-10-09 22:34:32 +02:00
|
|
|
|
|
|
|
```bash
|
2020-11-06 11:43:29 +01:00
|
|
|
pipenv install
|
2020-10-09 22:34:32 +02:00
|
|
|
pipenv run pip install -r edmond/plugins/requirements.txt
|
2020-11-06 11:43:29 +01:00
|
|
|
pipenv run python -m edmond
|
2020-10-09 22:34:32 +02:00
|
|
|
```
|