From 2af057ff88309be6dc040502215390151a6333bc Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sun, 11 Jul 2021 11:24:46 -0300 Subject: Added certn functions --- .config/fish/functions/certn-api.fish | 8 ++++++++ .config/fish/functions/certn-bash.fish | 4 ++++ .config/fish/functions/certn-web.fish | 5 +++++ .config/fish/functions/certn.fish | 4 ++++ 4 files changed, 21 insertions(+) create mode 100644 .config/fish/functions/certn-api.fish create mode 100644 .config/fish/functions/certn-bash.fish create mode 100644 .config/fish/functions/certn-web.fish create mode 100644 .config/fish/functions/certn.fish (limited to '.config/fish') diff --git a/.config/fish/functions/certn-api.fish b/.config/fish/functions/certn-api.fish new file mode 100644 index 00000000..ff879fb2 --- /dev/null +++ b/.config/fish/functions/certn-api.fish @@ -0,0 +1,8 @@ +function certn-api + cd ~/code/lazer/certn/certn_deps + make up + cd ../api_server + source .venv/bin/activate.fish + make up + docker-compose logs --follow api +end diff --git a/.config/fish/functions/certn-bash.fish b/.config/fish/functions/certn-bash.fish new file mode 100644 index 00000000..550ff976 --- /dev/null +++ b/.config/fish/functions/certn-bash.fish @@ -0,0 +1,4 @@ +function certn-bash + cd ~/code/lazer/certn/api_server + make bash +end diff --git a/.config/fish/functions/certn-web.fish b/.config/fish/functions/certn-web.fish new file mode 100644 index 00000000..6d825b6f --- /dev/null +++ b/.config/fish/functions/certn-web.fish @@ -0,0 +1,5 @@ +function certn-web + cd code/lazer/certn/web_server/ + nvm use 12 + yarn start:local +end diff --git a/.config/fish/functions/certn.fish b/.config/fish/functions/certn.fish new file mode 100644 index 00000000..cf1c8233 --- /dev/null +++ b/.config/fish/functions/certn.fish @@ -0,0 +1,4 @@ +function certn + cd ~/code/lazer/certn/api_server + source .venv/bin/activate.fish +end -- cgit v1.2.3