nestjs-rest-cqrs-example
nestjs-rest-cqrs-example copied to clipboard
People are facing issue with M1.
Please run this command.
docker run --platform linux/amd64 --name nest -d -p 3306:3306 -e MYSQL_DATABASE=nest -e MYSQL_ROOT_PASSWORD=test -v ~/database/nest:/var/lib/mysql mysql:5.7
How to Download MySql -- https://dev.mysql.com/downloads/file/?id=532182 -- Click on no thanks and proceed with download
How to Install MySql -- https://www.youtube.com/watch?v=ODA3rWfmzg8&ab_channel=ProgrammingKnowledge
How to fix root password errors https://www.youtube.com/watch?v=vRrbNi1rtlo&ab_channel=AmitThinks -- MAC users
How to install mangoDB
brew tap mongodb/brew
brew install mongodb-community
sudo mkdir -p /System/Volumes/Data/data/db
sudo chown -R `id -un` /System/Volumes/Data/data/db
sudo mongod --dbpath /System/Volumes/Data/data/db
this would run your MongoDB .
Then open another tab on terminal(command + t), and type
mongosh
This will definitely work.