Skip to content

Instantly share code, notes, and snippets.

@prashantsharma
Last active December 9, 2022 04:45
Show Gist options
  • Save prashantsharma/aa14270f6439584396fd3f1e89a4198a to your computer and use it in GitHub Desktop.
Save prashantsharma/aa14270f6439584396fd3f1e89a4198a to your computer and use it in GitHub Desktop.
Run OLP locally

Method - 1

#!/usr/bin/env php

run([]); exit(0); // Execute below command on terminal at website root // bin/dockerized test php run_olp.php // Note - As you are running this command outside container, you need to pass the DEV_EMAIL environment variable to docker compose // This can be done by modifying bin/dockerized Method - 2 #!/usr/bin/env php run([])) { exit(1); } exit(0); // Execute below command from the dashweb container // docker-compose exec dashweb bash // cd opt/website // php -f run_olp.php Method - 3 'mssp']; $job = new TrialsStrength($input); $job->execute(); // Call this from the CLI: // bin/dockerized tester php run_olp.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment