Aucune description

Johannes Zellner 0c7e610e74 Better handle relogins il y a 5 ans
apache bd14818989 Basic package fixes il y a 5 ans
supervisor bd14818989 Basic package fixes il y a 5 ans
website 0c7e610e74 Better handle relogins il y a 5 ans
CloudronManifest.json bd14818989 Basic package fixes il y a 5 ans
Dockerfile fdde0966d2 Move app inside website il y a 5 ans
README.md b20a6b727f Fixup shopping cart submission il y a 5 ans
start.sh b20a6b727f Fixup shopping cart submission il y a 5 ans

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