Skip to content

Commit

Permalink
doc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Jan 17, 2024
1 parent 2b9d8b7 commit 564c4be
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,39 @@ Clamd library uses clamav tool, and you must install it into your environment, t
For example, to install ClamAV on Ubuntu:

1. Install ClamAV with APT
```
apt-get update
apt-get install clamav clamav-daemon -y
```

2. Update the ClamAV signature database
```
systemctl stop clamav-freshclam
freshclam
systemctl start clamav-freshclam
```

To install ckanext-clamav:

1. Activate your CKAN virtual environment, for example:

. /usr/lib/ckan/default/bin/activate
`. /usr/lib/ckan/default/bin/activate`

2. Clone the source and install it on the virtualenv

```
git clone https://github.com/mutantsan/ckanext-clamav.git
cd ckanext-clamav
pip install -e .
pip install -r requirements.txt
```

3. Add `clamav` to the `ckan.plugins` setting in your CKAN
config file (by default the config file is located at
`/etc/ckan/default/ckan.ini`).

4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

sudo service apache2 reload
`sudo service apache2 reload`


## Config settings
Expand Down

0 comments on commit 564c4be

Please sign in to comment.