diff --git a/README.md b/README.md index b9b5209..ffea2c4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ DownloadChiBashi ========================== -DownloadChiBashi is a simple python Web Interface based on Flask framework for youtube-dl. +DownloadChiBashi is a simple python Web Interface based on Flask framework for youtube-dl. You can find the rest of english after Farsi description. + +
+دانلودچی‌باشی یک رابط کاربری تحت وب برای دانلود فایل های صوتی و تصویری از منابع مهم جهانی بالاخص سایت یوتیوب هست: +
![ScreenShot](https://raw.github.com/pesarkhobeee/Downloadchibashi/master/static/screenshot/screenshot1.png) @@ -9,7 +13,26 @@ DownloadChiBashi is a simple python Web Interface based on Flask framework for y ![ScreenShot](https://raw.github.com/pesarkhobeee/Downloadchibashi/master/static/screenshot/screenshot3.png) -![ScreenShot](https://raw.github.com/pesarkhobeee/Downloadchibashi/master/static/screenshot/screenshot4.png) +
+شما میتوانید آن را بسادگی بر روی سرور خود نصب و راه اندازی کنید، در مثال پایین فرض بر این است که شما قصد نصب بر روی یک سرور لینوکس اوبنتو نسخه ۱۸ بدون هیچ تنظیمات قبلی را دارید فلذا در اولین گام تمام پیش نیازها نصب و سپس فایل های پروژه دانلودچی‌باشی دریافت و از روی انها سرور وب و خود برنامه با کمک تکنولوژی داکر به سادگی ساخته و اجرا میشوند: +
+ + +``` +sudo apt update +sudo apt upgrade +sudo apt install docker docker-compose git +sudo systemctl status docker +sudo usermod -aG docker ${USER} +su - ${USER} +docker-compose --version + +git clone https://github.com/pesarkhobeee/Downloadchibashi.git +cd Downloadchibashi +find ./ -type f -exec sed -i -e 's/downloadchibashi.ir/YOURDOMAIN/g' {} \; +docker-compose up -d +docker-compose ps +``` # How to Run: @@ -26,7 +49,7 @@ source env/bin/activate For production you can use docker and docker-compose, but before running it you should change **Domain** name which is **downloadchibashi.ir** ``` -sed -i 's/downloadchibashi.ir/YOURDOMAIN/g' * +find ./ -type f -exec sed -i -e 's/downloadchibashi.ir/YOURDOMAIN/g' {} \; ``` After that, you can easily set up your docker container with help of :