summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/fish/functions/certn-api.fish8
-rw-r--r--.config/fish/functions/certn-bash.fish4
-rw-r--r--.config/fish/functions/certn-web.fish5
-rw-r--r--.config/fish/functions/certn.fish4
4 files changed, 21 insertions, 0 deletions
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