عالق في حلقة لا نهائية في طرفية ماك بعد تنفيذ source ~/.bashrc

If you can’t find .bashrc . . . wait. You don’t need to source .bashrc since it gets run when you log in.

I recommend that you punt on that and use Beginners Guide to Install Discourse for Development using Docker.