Simple bash script to automate scaffolding (installation of ts-express-starter and installation of dependencies) and make express server ready to lunch with a single command. (small )
-
clone the repository
-
set alias (temporary) to execute the script example:
alias auto-node-ts="bash ./node-ts-setup.bash"
In order to keep the permanent alias,
-
add the alias into your shell source file.
~/.bashrc
for bash or~/.zshrc
for z-shellalias auto-node-ts="bash <absolute path to node-ts-setup.bash from /home>"
-
Load the shell source file
source ~/.bashrc
for bash andsource ~/.zshrc
for z-shell
-
-
execute the alias