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
| import requests | |
| import json | |
| import base64 | |
| HOST = '127.0.0.1' | |
| PORT = '8001' | |
| CREDENTIALS = ('admin', 'admin') # login, password | |
| class HttpClient: |
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
| # This script facilitates obtaining the latest DB data from the production | |
| # Drupal 5 site. | |
| # The script gets an ordered dump of the D5 database, and commits it to the | |
| # [email protected]:mysite_d5.git repository master branch. | |
| # We make use of the rebuild.config file, so please make sure that your | |
| # settings are correct there! | |
| # We also assume that your drush aliases are setup correctly for | |
| # @mysite.dev and @mysite_d5.prod. Please check mysite.aliases.drushrc.example, | |
| # make sure your @mysite.dev alias is set up correctly, rename the file | |
| # to mysite.aliases.drushrc.php and move it into your ~/.drush directory. |