Update setup_demo.sh

This commit is contained in:
Stefan Pejcic 2024-12-03 10:22:43 +01:00 committed by GitHub
parent 1ad439f43d
commit 515d5520cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,6 +167,11 @@ create_db_user_import_wpdb() {
# TODO REST FROM > https://git.devnet.rs/stefan/2083/-/blob/main/modules/wordpress.py
}
everything_else() {
wget -O /home/stefan/599.jpg https://http.cat/images/599.jpg
wget -O /home/stefan/204.jpg https://http.cat/images/204.jpg
}
connect_wpdb_and_files() {
# edit wpconfig
@ -237,6 +242,9 @@ connect_wpdb_and_files
echo "add site to wpmanager"
opencli websites-scan -all
# other demo stuff
everything_else
echo "get droplet id"
get_droplet_id