Follow one of the many guides online to copy OSX install media onto a USB stick. Boot from it, and you should be able to install OSX to an external drive.
open