Don't stress out over "getting in shape". Believe me, you'll get in shape plenty fast enough on your hike. Start slow, those "legs" will come before Damascus.
The best advice I got was from an old running buddy who said- "Don't over analyze it, it's just putting one foot in front of the other". Yep, sure was!
Just do me a favor. Two weeks before your hike soak your feet for 30 minutes twice a day in a strong tea solution. The tannins will toughen up your feet and help prevent blisters. No, it's not an old wives tale.......
Good luck.
Good luck.