How did the union and confederacy initially get troops for the civil war?

Both sides successfully called for volunteers