From e3bb6dac2ab8bcb5cc337462621e250e8f7b5e84 Mon Sep 17 00:00:00 2001 From: "Tomas \"Jethro\" Pokorny" Date: Wed, 4 Nov 2020 01:07:53 +0100 Subject: [PATCH] Makefile | pridan cil pro nahrani Vue na testweb. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index a26162ba..482aeaff 100644 --- a/Makefile +++ b/Makefile @@ -141,3 +141,9 @@ sync_local_db: # Sync database and media. See above lines sync_local: sync_local_media sync_local_db + +# Push local compiled Vue to gimli test site +push_compiled_vue_to_test: + scp vue_frontend/webpack-stats.json mam-web@gimli:/akce/mam/www/mamweb-test/vue_frontend/ + rsync -ave ssh seminar/static/seminar/vue mam-web@gimli:/akce/mam/www/mamweb-test/seminar/static/seminar/ + ssh mam-web@gimli.ms.mff.cuni.cz 'cd /akce/mam/www/mamweb-test/ && . env/bin/activate && ./manage.py collectstatic --noinput'