changement du listen temporaire

non documente /a faire : necessite de changer le config.php
pour trusted
This commit is contained in:
phlippe lhardy
2025-07-04 15:11:55 +02:00
parent e985f2e430
commit 0760d99a30
2 changed files with 44 additions and 1 deletions

View File

@@ -11,8 +11,50 @@ setup databse :
# on ubuntu VOLUME creation failed ( podman 4.9.3 )
# comment out VOLUME var/www/html in 31/apache/Dockerfile
podman tag $image_id nextcloud_local
./clonegit.sh
./runpodman.sh
./doit.sh
se connecter sur http://127.0.0.1:8080
creer l'administrateur
puis
./sync_poll.sh
il reste encore a compiler avec les dependances composer et le build npm vuejs
```
./enter_www_data.sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
&& export NVM_DIR="$HOME/.nvm" \
&& . "$NVM_DIR/nvm.sh" \
&& nvm install 20 \
&& nvm alias default 20
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
```
```
cd custom_apps/polls/
make
ln -s composer.phar build/tools/composer
export PATH=$PATH:$(pwd)/build/tools
make
```
et a activer l'application polls
# A Faire
utiliser la base de donnee postgres et non le SQLLite ?

View File

@@ -16,7 +16,8 @@ bind_folder=$(pwd)/$rel_bind_folder
declare -a podman_args
podman_args+=(-p 127.0.0.1:8080:80 --name=$container_name)
listen_host=192.168.1.20
podman_args+=(-p $listen_host:8080:80 --name=$container_name)
# container 33 www-data => current user.
current_uid=$(id -u)