Erased HD to sell, how to get Server app back?
So I have a mac mini with no optical drive and have erased the drive prior to selling on behalf of my work, as I usually would. After erasing I thought to use the internet recovery mode but that prompted me to install Lion. The machine had previously been upgraded to Yosemite so I had no desire to go back to ML and have to upgrade again. I was going to put Yosemite on it, using a boot installer I've made. But now I am wondering how I get the server app back? I asked my boss to check his purchases in app store but server is not listed. Do I have install Yosemite first, login with app store and then it will detect I have the right to download server app? I wanted to sell the machine in ready to setup state, so had no intention of setting up account or anything on it.