Nextcloud Dev En
Create a dev env for nextcloud
setup databse :
./setupdatabase.sh
./setuppodman
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 ?