- Note: To ensure that this repo dot files works properly clone this inside your home directory or use this command to clone this repo
git clone https://github.com/bhumit070/dotfiles.git $HOME/dotfiles
- Note: Docker must be installed and running in your system to set this up
- This setup will include 3 databases (mysql, mongodb & postgres) and two database management software phpmyadmin and pgadmin
- To setup docker dbs run this commands
- If you get any error like like permission denied while running
./docker.sh
then run
Tool |
Command to Run |
Runs on |
depends on |
user |
password |
MySQL |
mysql |
localhost:3306 |
- |
root |
- |
Postgres |
postgres |
localhost:5432 |
- |
bhumit070 |
bhumit070 |
MongoDB |
pgadmin |
localhost:27017 |
- |
- |
- |
- Use TablePlus or your preferable database client to connect to these databases
- You can change default username and password from this file ->
$HOME/dotfiles/aliases/docker
some useful alias included in this setup
Alias (command) |
Use |
Original Command |
dps |
It shows all docker containers |
docker ps --all |
ddc |
It removes all the docker container |
docker rm -f $(docker ps -a -q) |
ddi |
It removes all the docker image |
docker rmi -f $(docker images -a -q) |
dstart [CONTAINER NAME] |
It starts the stopped container |
docker container start $1 |
dockerKillAndRemoveContainer [CONTAINER NAME] |
It stops and kills the container |
docker container stop $1 && docker container rm $1 |
ls -> eza |
rust replacement for ls |
ls |
grep -> rg |
rust replacement for grep |
grep |
cat -> bat |
rust replacement for cat |
cat |