oliverdavies.uk/justfile

20 lines
437 B
Makefile
Raw Normal View History

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
2025-05-11 21:10:06 +01:00
upload: generate-html
2025-05-11 11:15:20 +01:00
rsync -avzP html/ nixedo.oliverdavies.uk:/var/www/vhosts/website-tome