While I run the command firebase deploy I get this error:
firebase deploy
Error: HTTP Error: 400, Project \'my_project\' is not a Firestore enabled project.<
I figured it out myself. It was just an ignorance while using the firebase console. I just had to enable the firestore beta from the console itself, under Database.