Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Multiengine
Flight Crew Last 90 Days 21.92; Flight Crew Total 10274.05; Flight Crew Type 10274.05
Human-Machine Interface; Time Pressure
Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance; Deviation / Discrepancy - Procedural Published Material / Policy
Air Traffic Control Issued New Clearance
Environment - Non Weather Related; Human Factors
Before we were able walk onboard our plane we had to go to gate XX for a temperature check.Once on board our FA said our crew meals were not boarded and airport operations informed us catering was shut down.  CA went to procure 2 sandwiches in the terminal while I set up the cockpit.  I rushed through the cockpit setup as we arrived later than planned to the plane. Our clearance was ZZZZZX.ZZZ then as filed. While loading the route in the FMC the ZZZZZX departure was loaded without selecting the ZZZ [VOR] transition.  Upon returning from the preflight inspection 15 minutes before scheduled departure time; I proceeded to verify the route.  I did not catch the error that the ZZZZZX departure was loaded without the ZZZ transition.On the before takeoff checklist; I missed another opportunity to catch the error when I read FMC ...ZZZZZX ZZZZZ.  The box should have been loaded ZZZZZX departure ZZZ transition. After takeoff during initial climb; I noticed the airplane symbol was off course on the Jeppesen ZZZZZX.ZZZ SID. I brought this to the CA's attention; but before we could investigate further ATC called to say we were off course.  We flew ZZZZZ direct ZZZ rather than the ZZZZZ.ZZZ; which was our clearance.ATC cleared us direct ZZZ.  The rest of the flight was uneventful.
Air carrier First Officer reported programming the FMC incorrectly for the SID; which resulted in a track deviation. Reporter noted several delays that contributed to rushing through cockpit set up.