diff options
Diffstat (limited to 'server-build/my-simple-cdd/README')
-rw-r--r-- | server-build/my-simple-cdd/README | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/server-build/my-simple-cdd/README b/server-build/my-simple-cdd/README deleted file mode 100644 index 496d6cf..0000000 --- a/server-build/my-simple-cdd/README +++ /dev/null @@ -1,76 +0,0 @@ -This directory contains some scripts and associated files to -create a Debian qcow2 image with a WooCommerce+Taler installation. - -We use simple-cdd to non-interactively run the Debian installer, -and have a profile 'talerwoo' with WooCommerce and Taler-specific -specifications. - -Dependencies: -============= - -* debian-archive-keyring -* qemu, qemu-system, qemu-kvm -* xorriso -* bsdtar -* simple-cdd - -Make sure the user using the scripts is in the 'kvm' group. -The scripts are only written for AMD64/x86_64 CPUs. - - -How to use: -=========== - -First run: - -$ ./make-iso.sh - -to create the "installer.iso". Then run: - -$ ./setup-system.sh - -to run the Debian installer to create the 'talerwoo.img'. - -Before booting, make sure that your system is setup to -route packages and performs NAT for the VM (otherwise -the installation script that runs on first startup -will fail): - -$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward -$ sudo iptables -t nat -A POSTROUTING -o wlp3s0 -j MASQUERADE - - -Next, boot the final image using: - -$ ./run-system.sh - -The 'root' password will be set to 'wootaler' initially. - -The 'admin' password for WooCommerce (running on port 9999) -will be 'admin-pass'. - -Upon first boot, you need to wait for a bit for the systemd -service firstboot-wootaler.service to complete. You may -want to check the logs: - -# journalctl -u firstboot-wootaler.service - -If the script fails due to say network errors, you -should be able to simply re-run it using: - -# firstboot-script.sh - -(it will also re-run on each boot until it has -succeeded). - -You now MUST set up WooCommerce defaults. To do this: -a. Log into the WooTaler site in your host system at 127.0.0.1:9999/wp-admin/. as "admin" with passphrase "admin-pass" -b. Navigate to 127.0.0.1:9999/wp-admin/admin.php?page=wc-setup and go through the annoying WooCommerce setup wizard (Note that many options are enabled by default, and you have to turn them off.)' -c. Change the currency to KUDOS to make it work with the demo backend (or change the backend)' -d. Go into the Wordpress configuration for the OIDC plugin (which is NOT under WooCommerce, but under WordPress settings), and click "safe" (no need to actually change options). - -Finally, run: - -# yes | /usr/local/bin/deploy-reclaim.sh - -as root inside the VM. |