From 92c3d2a78be737abb6d1eb9a5808d0a8ae657627 Mon Sep 17 00:00:00 2001 From: Sebastian Waldbauer Date: Thu, 15 Apr 2021 12:18:12 +0200 Subject: [PATCH] FIX: Moved developer stuff to develop-guide Signed-off-by: Sebastian Waldbauer --- DEVELOP-GUIDE.md | 8 +++++--- README.md | 7 ++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/DEVELOP-GUIDE.md b/DEVELOP-GUIDE.md index 8c1fd52..409dce6 100644 --- a/DEVELOP-GUIDE.md +++ b/DEVELOP-GUIDE.md @@ -2,11 +2,14 @@ ## Run & deploy containers in dev mode: +0. `cd intelmq-manager` +0. `python3 setup.py` +0. `cd ..` 1. `docker-compose -f docker-compose-dev.yml up` ## Docker-compose-dev.yml file -### Volume: +### Volume: **./mybots:/opt/dev/mybots** -> this is the folder where your source code need to be, you could see one expert example in mybots/bots/experts/example and a BOTS json definition file containing the default configuration for example expert. @@ -24,7 +27,7 @@ Just run /opt/dev/update.sh in the container: When you do this: * Yours BOTS files will be mixed with intelmq original BOTS and the copied to runtime environment -* Yours bots will be installed +* Yours bots will be installed ### Additional environment variables @@ -42,4 +45,3 @@ For example, using https://github.com/CERTUNLP/intelmq-bots: 1. `git clone https://github.com/CERTUNLP/intelmq-bots mybots -b 2.3` 0. `docker-compose -f docker-compose-dev.yml up` - diff --git a/README.md b/README.md index a8e10d1..29f1fc7 100644 --- a/README.md +++ b/README.md @@ -15,20 +15,17 @@ If you do have any questions / feedback / questions, please open an issue :) 0. `git clone https://github.com/certat/intelmq-docker.git --recursive` 0. `cd intelmq-docker` 0. `docker-compose pull` -0. `cd intelmq-manager` -0. `python3 setup.py` -0. `cd ..` 2. `docker-compose up` 3. Open your favourite browser -> Go to `http://127.0.0.1:1337/` -## For developers +## For developers Please take a look to DEVELOP-GUIDE.md ## Build and deploy new images -If you want to build/deploy/test this container run +If you want to build/deploy/test this container run 1. `chmod +x build.sh` 0. `chmod +x test.sh` 0. `chmod +x publish.sh`