Is it safe to travel somewhere with a risk of yellow fever without having been vaccinated?

I have an egg allergy, is there any way I can get the vaccine even though I have an allergy, or test my allergy level or anything like that? How to travel there even without having had the vaccine?