diff --git a/Rudra Juice b/Rudra Juice new file mode 100644 index 00000000..e73aa119 --- /dev/null +++ b/Rudra Juice @@ -0,0 +1,14 @@ +import shutil import os + +Path where the website folder is prepared + +website_folder = '/mnt/data/rudras-juice' + +Path for the zip file + +zip_file = '/mnt/data/rudras-juice.zip' + +Make sure folder exists + +if os.path.exists(website_folder): shutil.make_archive(zip_file.replace('.zip',''), 'zip', website_folder) zip_file else: 'Website folder does not exist. Please prepare the website files first.' +