layout: worker bfid: 201708-bitsharesui workerid: title: BitShares UI Team name: Bill Butler company: name: url: status:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /usr/local/bin | |
sudo curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
sudo mv wp-cli.phar wp | |
sudo chmod +x wp | |
cd /home/bitnami/apps/wordpress/htdocs | |
wp option update home 'http://www.mydomain.com' | |
wp option update siteurl 'http://www.mydomain.com' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function (user, context, callback) { | |
// You can add a Role based on what you want | |
// In this case I check domain | |
var addRolesToUser = function(user, cb) { | |
if (user.email === '[email protected]') { | |
cb(null, ['admin']); | |
} else { | |
cb(null, ['user']); | |
} | |
}; |
NewerOlder