From ee621003c21a8f130cc61e831c9221b1c3245478 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 4 Feb 2024 13:00:05 +0100 Subject: [PATCH] Add npm run script --- HowTo.txt | 10 ++++++++++ start_development.sh | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 HowTo.txt create mode 100755 start_development.sh diff --git a/HowTo.txt b/HowTo.txt new file mode 100644 index 0000000..493886a --- /dev/null +++ b/HowTo.txt @@ -0,0 +1,10 @@ +HowTo run/start development: + +1. Ensure Laravel server is running: +-> docker compose up -d + +2. run start_development.sh scrip via service: +systemctl enable mtc_npm.service + +3. after coding disable service: +systemctl disable mtc_npm.service diff --git a/start_development.sh b/start_development.sh new file mode 100755 index 0000000..ebe314a --- /dev/null +++ b/start_development.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +docker compose run --rm --service-ports npm_mtc run dev +