File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Checks that config.js file exists in the root of the project
4+ CONFIG_FILE=" $( dirname " $0 " ) /config.js"
5+ if [ ! -f " $CONFIG_FILE " ]; then
6+ echo " \033[1;33m Warning: config.js not found in the project root! See the config.example.js file.\033[0m"
7+ fi
Original file line number Diff line number Diff line change 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+ cd .. || exit
14+ cd Headstart || exit
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ chmod a+x checks/config-js.sh
4+ source ./checks/config-js.sh
5+
6+ chmod a+x checks/ht-access.sh
7+ source ./checks/ht-access.sh
8+
39npm run prod -- --mode=development
410docker compose --env-file ./local_dev/dev.env stop
511docker compose --env-file ./local_dev/dev.env up -d --build
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ RUN apt update && apt full-upgrade -y && \
134134 ln -s /usr/share/zoneinfo/Europe/Vienna /etc/localtime && \
135135 dpkg --configure -a
136136
137- RUN apt-get -y install python3.8 python3-pip
137+ RUN apt-get -y install python3.8 python3.8-dev python3 -pip
138138
139139RUN R -e 'options(repos="https://cran.wu.ac.at")' && \
140140 R -e 'install.packages("remotes")' && \
You can’t perform that action at this time.
0 commit comments