to install the dot files, run bash install.sh
or simply ./install.sh
at dotfiles directory.
it creates symbolic link from the home directory to dotfiles, also apt install make if doesnt exist.
to update the dot files, run make update
.
it does git pull.
to deploy, run make deploy
.
it recreates symbolic links.
to update remote repository somehow ( for fixing bugs or adding new features), do as git says.
to initialize environments, run make init_?
at dotfiles directory.
it creates several environments:
make init_u
: setup for Ubuntumake init_N
: setup for N web school(built on Vagrant + Ubuntu 18.04 LTS)make init_c
: setup for CentOSmake init_a
: for Arch Linux (todo)make init_h
: help (todo)
git config --global user.name "username"
git config --global user.email [email protected]
git config --global core.editor "vim"
sudo su - postgres
psql
alter role postgres with password 'some-password'