Skip to content

Instantly share code, notes, and snippets.

Remote employee forever!

Theodoros Ploumis theodorosploumis

Remote employee forever!
Block or report user

Report or block theodorosploumis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
theodorosploumis /
Last active Feb 15, 2019
How to move a Drupal site from Server A to Server B

How to move a Drupal site from Server A to Server B.

  1. Create the Domain on Server B
  2. Create the Emails on Server B
  3. Create the Database on Server B
  4. Download the database from Server A using backup_migrate
  5. Rsync files from Server A to Server B using ssh. Be careful to also transfer the dotfiles (or use git if is set)
  6. Install drush on Server B (see drush-installer)
  7. Install Drupal on Server B with a clean Database
  8. Enable module backup_migrate on the new site on Server B
  • Dev/Stage/Live environment
  • Software for issues (eg Jira, GitHub etc)
  • Security monitoring
  • Git precommit hooks
  • Git hosting (eg Gitlab, GitHub, Bitbucket)
  • CI (eg CircleCI)
  • Development tools (eg performance, build etc)
  • Collaboration tools (eg Slack)
  • Drupal specific hosting (Acquia, Pantheon, Amazee etc)
  • Drush custom commands
theodorosploumis /
Last active Feb 15, 2019
Drupal 8.x with Composer, example of step commands
### Keybase proof
I hereby claim:
* I am theodorosploumis on github.
* I am theodorosploumis ( on keybase.
* I have a public key whose fingerprint is 12F8 43E2 FE78 653C 6C93 B925 6F21 831E 78DB 885B
To claim this, I am signing this object:
theodorosploumis / gist:32c1592659b23812837af2c9344e72c0
Created Aug 19, 2016 — forked from prairiehippo/gist:3238902
Drupal API settings for Chrome Search Engine
View gist:32c1592659b23812837af2c9344e72c0

Want to search the Drupal API directly using the Chrome Omnibox?

Right click on the omnibox in chrome (URL box) and select "Edit Search Engines".

You very likely already have a Drupal API search engine entry in the table, but if not, scroll to the bottom and add a new entry with the following items.

theodorosploumis /
Created Jun 8, 2016 — forked from mohamed-el-habib/
drupal fpm with nginx and mysql


git clone git:// docker-drupal-fpm
cd docker-drupal-fpm
mkdir -p /usr/local/share/dockervolumes/drupal # if you change this folder please update the
chmod +x && ./ up
theodorosploumis /
Created May 27, 2016
Print versions of software installed. Useful for README.txt, CHANGELOG.txt etc. Mainly for Drupal.
#!/usr/bin/env bash
# Print versions of installed software
# bash /scripts/ >> /SOFTWARE.txt
# Print distribution info
echo -e "-----------------------------------\n"
echo -e "$(uname -a)"
echo -e "---------------------------------- \n"
# Print date created
View rsync_drupal_files.txt
# Run this on 'From' server
rsync -avz --progress \
--exclude=styles --exclude=ctools --exclude=css --exclude=js --exclude=xmlsitemap \
-e 'ssh -i ~/.ssh/SOME_PUBLIC_KEY' USERNAME@HSTNAME:/from/dir/ /to/dir/
theodorosploumis / dockr
Created Apr 9, 2016 — forked from nir0s/dockr
dockr - some useful docker shortcuts
View dockr
# add yourself to the docker group
# useradd -G docker USERNAME
# then you can enjoy this (for instance)
# dockr get logstash_container ip - to get the ip of the container
# or
# dockr stop last - to stop the last container you ran
# or
# dockr rmi none - to remove all <none> images
You can’t perform that action at this time.