I am an irish citizen

I live in France near Spain.

It is a 10h journey to go to Paris & 10h home.

How can I get a visa for Cote d'Ivoire?

Can I get it in Accra on my way to Cote d'Ivoire?

Thank you