2025-04-16 18:18:17 +01:00
|
|
|
_default:
|
|
|
|
just --list
|
|
|
|
|
2025-04-16 18:18:17 +01:00
|
|
|
db-backup:
|
|
|
|
sqlite3 web/db.sqlite ".backup 'web/backup-$(date '+%s').sqlite'"
|
|
|
|
|
2025-04-29 21:42:03 +01:00
|
|
|
export:
|
|
|
|
composer run export
|
|
|
|
git add config content
|
|
|
|
git commit -m "tome export"
|
2025-04-16 18:18:17 +01:00
|
|
|
|
2025-04-16 19:18:53 +01:00
|
|
|
generate-html:
|
2025-04-16 18:18:17 +01:00
|
|
|
drush tome:static --uri https://www.oliverdavies.uk
|
|
|
|
|
2025-04-16 18:18:17 +01:00
|
|
|
install-drupal:
|
|
|
|
drush si --db-url=sqlite://localhost/db.sqlite
|
2025-04-16 19:42:22 +01:00
|
|
|
|
|
|
|
upload:
|
2025-04-29 14:37:43 +01:00
|
|
|
rsync -avzP html/ nixedo.local:/var/www/vhosts/website-tome
|