IPA: /ɪˈrɛktli/
KK: /ɪˈrɛktli/
In a straight up position; standing or pointing upwards.
The flag was raised erectly on the pole during the ceremony.
Erectly → It is formed from "erect" (from Latin "erectus", meaning raised or upright) and the adverbial suffix "-ly" (meaning in a manner of). The word "erectly" means in a manner that is upright or raised.
Think of something being 'raised' ('erect') and 'in a manner of' ('-ly') — that's how you remember that 'erectly' means to do something in an upright way.