Effective Military Strength = War Assets (single player) x Readiness Rating (multiplayer). Maximum War Assets is ~7500, so with no multiplayer, you get ~3750 EMS.
Former squadmates aren't worth much, like 25-50 War Assets each. Current squadmates are worth zero, but they can help in other ways (Rannoch). Kaidan/Ashley are only worth points if they don't join your squad. Garrus doesn't affect War Assets at all, and Wrex is actually worth more dead than alive.
Endings are unlocked by having a higher EMS score. The red ending requires no EMS, blue requires 1750, and green needs 2800. So if you are shooting for the green ending you can do it in single player no problem. However, EMS also affects some of the details of what happens in each ending: whether your squadmates survive, whether the Normandy is destroyed, what happens to the Earth... and whether Shepard lives.
Shepard lives if you pick the red ending and have 4000 EMS, which is not possible with single player, until the Extended Cut DLC lowered the requirement to 3100 EMS. This is what people were talking about, besides the fact that the ending is just awful in other ways.
I did that.
I just Googled it and the general opinion seems to be that in the original release with no DLC, no multiplayer, and no messing around with phone apps (?) it was at best extremely difficult to do (scan every single planet, that sort of thing) and at worst impossible. People seem to disagree on the exact degree of impossibility, but it seems that some early DLC brought the threshold down into a more reasonable range.
I guess my mistake was being so excited to play it that I finished it before they "fixed" the ending.
Unlike most, I also enjoyed it quite a bit.
People only say the destroy ending was the best because Shepard seems to live at the end. But, for me, the beginning and entire content of ME3 said 'Shepard dies': it feels odd for him/her to live.
And I think this is ultimately why the game is so polarising: some people saw the game as being a chance for Shepard to finally 'win', whereas I and others expected (and got) a bittersweet ending.