This guide will show you how to set up a MarkovShield demo setup if you want to change some reverse proxy contents. If you just want to run MarkovShield as fast as you can and without editing the demo site, have a look at the https://github.com/MarkovShield/standalone-demo repository.
- You need the
mod_mshieldrepository checked out on our system. - The only package requirement is, that
dockeranddocker-composeis installed. - Only macOS or Linux is currently supported.
In order to start the demo application, hit make demo inside the mod_mshield repository directory and wait a minute until Finished! shows up. Now you should be able to visit https://localhost and play with the demo web application. If you visit "Pre-Auth Demo" -> "Echo Request header" you are accessing /private which means your session will be rated against the models (because /private is configured as critical area inside the web app).
Note: In the demo web application there are now real trained user models because this would need historical session data which is not available in the demo web application.
If you run into problems, check the following steps:
-
Make sure all containers are started:
mshielddemo_taskmanager_1mshielddemo_broker_1mshielddemo_jobmanager_1mshielddemo_zookeeper_1mshielddemo_mshield_backend_1mshielddemo_mshield_reverse_proxy_1mshielddemo_redis_1mshielddemo_mshield_flink_modelupdater_1mshielddemo_mshield_flink_analyser_1mshielddemo_mshield_kafka_clickstreams_1
If one of them is missing, run
make shutdown-demoand try again to start the environment usingmake demo.
To clean up the whole markovshield demo environment, run make shutdown-demo.
