Definitely on its side, derailleur side up, for just that reason. Even if you don't have a computer, bell, etc., you don't want to risk damaging the cables.
Thank you!
Dawes Cambridge Mixte, Specialized Hardrock, Specialized Vita.
mixedbabygreens My blog, which really isn't all about the bike.