Edm0nd/README.md

35 lines
688 B
Markdown
Raw Normal View History

Edm0nd
======
New version of the infamous IRC bot.
2020-10-09 22:34:32 +02:00
Installation
------------
Clone the repository.
The preferred installation way is using Docker:
2020-10-09 22:34:32 +02:00
```bash
# 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
```
Else you can install dependencies and run it in a virtual env:
2020-10-09 22:34:32 +02:00
```bash
pipenv install
2020-10-09 22:34:32 +02:00
pipenv run pip install -r edmond/plugins/requirements.txt
pipenv run python -m edmond
2020-10-09 22:34:32 +02:00
```