We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a79ff commit a79f3beCopy full SHA for a79f3be
2 files changed
checks/ht-access.sh
@@ -0,0 +1,14 @@
1
+# !/bin/bash
2
+# Checks that .htaccess file exists in the project-website folder and creates one if if it is not
3
+
4
+cd .. || exit
5
+cd project-website || exit
6
7
+if [ ! -f .htaccess ]; then
8
+ echo "\033[1;33m Warning: .htaccess not found in the project-website folder. It will be created automatically."
9
+ cp settings.htaccess .htaccess
10
+ echo ".htaccess file created."
11
+fi
12
13
14
+cd Headstart || exit
local-hotreload.sh
@@ -3,6 +3,9 @@
chmod a+x checks/config-js.sh
source ./checks/config-js.sh
+chmod a+x checks/ht-access.sh
+source ./checks/ht-access.sh
npm run prod -- --mode=development
docker compose --env-file ./local_dev/dev.env stop
docker compose --env-file ./local_dev/dev.env up -d --build
0 commit comments