Hi, welcome to the introductory workshop of detectem.
- Install Docker CE
- Install docker-compose
- Create a directory i.e.
det-playground
and enter it. - Get the two files from this repository:
wget https://raw.githubusercontent.com/alertot/detectem-workshop/master/docker-compose.yml
wget https://raw.githubusercontent.com/alertot/detectem-workshop/master/Dockerfile
- Clone detectem:
git clone https://github.com/alertot/detectem.git
- Execute
docker-compose up -d
to set up the environment.
If the previous method fails because of network latency, try this:
- We will provide some urls where you're going to download python.tar.gz and splash.tar.gz
- Decompress them:
gzip -d python.tar.gz
andgzip -d splash.tar.gz
. - Load them in your docker environment using:
docker load -i python.tar
docker load -i splash.tar
docker-compose run --rm detectem https://domain.tld
docker-compose run --rm tests
Any change made in detectem
directory will be immediately
available through the docker container.
If you want to contribute to the project, you should follow
the normal fork and pull request flow:
- Create your plugin and test file in local
detectem
directory. - Run both docker containers to ensure that the plugin and test works.
- Fork detectem on Github.
- Add your fork repository as a remote in local
detectem
directory. - Push your contribution to your fork repository.
- Create a pull request using Github interface.