You need to build your colony by building different structures-starting with building resource production facilities like a mine-these buildings would naturally accumulate resources over time. You can turn your attention to troops and defenses once you've built those structures.