How did Roald Dahl become famous?

Roald Dahl wrote a book and showed it to his friends and family and they liked it so Roald Dahl decided to be a writer