Skip to content

Instantly share code, notes, and snippets.

Avatar

Benjamin Long ApatheticCosmos

  • Pennsylvania, USA
View GitHub Profile
View create_test_alerts.php
<?php
# Save this in the root of your SuiteCRM install, and run "php ./create_test_alerts.php"
# The alerts will be created for the Admin user (id=1)
if (!defined('sugarEntry')) {
define('sugarEntry', true);
}
chdir(dirname(__FILE__));
@ApatheticCosmos
ApatheticCosmos / suitecrm-travis.readme
Last active Dec 27, 2018
Duplicating SuiteCRM Travis Tests
View suitecrm-travis.readme
On Ubuntu:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
$ sudo apt install docker-ce
$ sudo usermod -aG docker ${USER}
You will need to log out and back it so your shell is in group 'docker', or you can run "su - ${USER}".
Then get the docker image and run it:
$ docker run --rm --name travis -dit travisci/ci-garnet:packer-1512502276-986baf0