Ei kuvausta

Johannes Zellner 5eac45d319 Reapply "Remove placeholder redirect" 2 vuotta sitten
apache bd14818989 Basic package fixes 5 vuotta sitten
supervisor bd14818989 Basic package fixes 5 vuotta sitten
website 5eac45d319 Reapply "Remove placeholder redirect" 2 vuotta sitten
CloudronManifest.json 326b8ffb56 Better redirect 3 vuotta sitten
Dockerfile e746e08283 Add placeholder page 3 vuotta sitten
README.md b20a6b727f Fixup shopping cart submission 5 vuotta sitten
start.sh c76b28f469 Make sessions persistent 5 vuotta sitten

README.md

Drop all existing tables use webterminal and mysql client connection.

https://docs.cloudron.io/guides/import-mysql/#export

Create sql dump with schema, maybe remove database creation and remove USE <databasename> from dump.

Upload dump to /app/data/dump.sql and import:

mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} < /app/data/dump.sql

Ensure charset for mysqli in database.php (2 of them) matches the tables!

Dump customer_template table. Upload to /app/data/customer_template.sql Import

mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} < /app/data/customer_template.sql