Perhaps you have noticed the links to Github here and there on “The Howto”. The Github is a repository for code – and for keeping track of your versions of the code. So on Github you can follow your own development. Github is sort of social media for coders.

Setting up your own repository is easy. The somewhat harder part is to connect some of your directories to Github. First you have to install the Git. And then you can either use a GUI or just use commands from a terminal window.

I really like the last option.

If you work on several computers you can always have an updated code. You can even fork other peoples code – and make your own contributions to the work. So the Git is a tool for collaboration.

Git sample from a terminal window.

  • Line 1: add new or updated files. * is a wildcard.
  • Line 2: a message about the file revision.
  • Line 3: pushing the files to the repository.
git add *
git commit -m 'revised upload'
git push origin master
$wpdb Database Modelling PHP WordPress

WordPress – opsætning på EAL


  • Bruger:
  • Password: *********
  • Database: xxxx_mmd_eal_dk

Filen wp-config.php kommer til at se sådan ud:

// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘xxxx_mmd_eal_dk’);

/** MySQL database username */
define(‘DB_USER’, ‘’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘*******’); // password hidden here 😉

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);


Gallery Demo