Aucune description

Johannes Zellner 5eac45d319 Reapply "Remove placeholder redirect" il y a 2 ans
apache bd14818989 Basic package fixes il y a 5 ans
supervisor bd14818989 Basic package fixes il y a 5 ans
website 5eac45d319 Reapply "Remove placeholder redirect" il y a 2 ans
CloudronManifest.json 326b8ffb56 Better redirect il y a 3 ans
Dockerfile e746e08283 Add placeholder page il y a 3 ans
README.md b20a6b727f Fixup shopping cart submission il y a 5 ans
start.sh c76b28f469 Make sessions persistent 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