School usually start with remainders instead of trying to teach repeating decimals at the same time. So here the answer is just 0 remain 1.
The same process still works if you want to calculate the decimals though. Just pretend you're doing (1000000/7) * (1/1000000) or however many digits you want.
Shift the decimal point of the operand right by N places (where N is how many decimal places of precision you want), do the long division, then shift the decimal point of the result left by N places, and you have your answer.