Is the battery the problem? Will it make it 2 miles after being jumped?

So I have a 2011 ford focus sel. It has been sitting for about a month and has only been started twice. I had triple a jump it and it started right up, then after letting it run for 30 mins and shutting it off, I tried to restart it and it would start. So, 2 question!: is it the battery? 2:if I have it jumped, could I make it 2 miles up to the auto place to get a battery without it dying?

Do NOT jump start a car unless it is a real emergency.
The reason is you risk ruining the ecu from the spikes of jumping, and you risk ruining the alternator once you do get it started and try to charge up such a dead battery.

What you should do is put the battery on a charger over night, then try starting it.
If the 12,5 output from the battery goes up over 14 volts when engine revs slightly, then alternator is ok.
Battery might be fine as well.
It is cold weather starting that will tell for sure.
There's no real battery test.
What they do is just draw it down and see if it still starts, and that is a bad idea.
It not only is harmful, but can cause the battery to over heat and warp, or to blow out the alternator is they do the battery draw while the engine is on.
Never take it to a cheap generic garage. Find an independent you can trust.
I have seen K-Mart mechanics blow lots of alternators.

If it is going to sit, disconnect the battery. Then you will know if it is the battery or some other voltage draw.battery should be put on a charger, using the cars alternator on a dead battery. Will shortin alternators life.it will get so hot you can literately fry an egg on it, also batteries are better charged at 10 amps rather than 100 amps by alternator, they over heat as well, you can by a solar powered battery maintainer for $20.00, also jump starting a totally dead battery.causes voltage spikes that can fry computer and other electronics

It should be no problem. Have them test it first to make sure the battery needs replacing. It probably does, but they aren't cheap and it's possible something could have drained the battery such as a short or even a bad alternator.

Take the 12 volt battery to any store that sells new ones *other than Auto Zone and ask for a free 15 second battery load test. This quick test will tell the reserve amperage capacity. Amperage spins starter motors not voltage.

When a new fully charged battery has been installed touch the battery terminals with an inexpensive volt meter set @ 20 volts *with the engine running. IF the alternator is charging properly the volt meter will read between 13.5 - 14.2 volts.