How to upload code to atmega32u4?
Installing the Arduino bootloader would make it easier to upload you sketch from the Arduino IDE.
Installing the Arduino bootloader via DFU is probably the easiest method. Alternatively use ISP, but you'd need a programmer for that, or use a separate Arduino board with the ArduinoAsISP sketch running on it.