Production ========== In order to security reason, ought not to using without docker_ for decreasing danger on the host server. .. _docker: https://docker.io Build and Install with Docker ----------------------------- - Clone from `the source repository`_ git clone https://github.com/star-inc/pbp-analytics.git - Configure `config.ini`. - Follow these commands: sudo docker build -t pbpa . sudo docker run --network=host --detach pbpa .. _the source repository: https://github.com/star-inc/pbp-analytics Easy Install ------------ Please register the API key of the public databases Analytics using. The command will help you create and run Analytics. sudo docker run \\ -e PBP_CFG=1 \\ -e PBP_MySQL_host= \\ -e PBP_MySQL_database= \\ -e PBP_MySQL_user= \\ -e PBP_MySQL_passwd= \\ -e PBP_SafeBrowsing_google_api_key= \\ -e PBP_PhishTank_username= \\ -e PBP_PhishTank_api_key= \\ -e PBP_WebCapture_capture_type=1 \\ --name=pbpa --network=host --detach starinc/pbp-analytics