Files
Ultroid-fork/resources/startup/deploy.sh
Aditya b0f6d58d77 Ultroid - v0.0.3
* Ultroid - v0.0.3

Full Changelog - https://t.me/TheUltroid/21


Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: Danish <72792730+1Danish-00@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: buddhhu <buddhhu@users.noreply.github.com>
Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com>
Co-authored-by: 1Danish-00 <1Danish-00@users.noreply.github.com>
Co-authored-by: Sρι∂у <68327188+sppidy@users.noreply.github.com>
Co-authored-by: sppidy <sppidy@users.noreply.github.com>
Co-authored-by: Arnab Paryali <arnabxd@pm.me>
Co-authored-by: Programming Error <error@notavailable.live>
Co-authored-by: ArnabXD <ArnabXD@users.noreply.github.com>
Co-authored-by: xditya <xditya@users.noreply.github.com>
Co-authored-by: ProgrammingError <ProgrammingError@users.noreply.github.com>
2021-03-04 23:00:10 +05:30

93 lines
2.1 KiB
Bash

# Ultroid - UserBot
# Copyright (C) 2020 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
# <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
echo "
╔╦╦╦══╦═╦═╦══╦══╗
║║║╠╗╔╣╬║║╠║║╩╗╗║
║║║╚╣║║╗╣║╠║║╦╩╝║
╚═╩═╩╝╚╩╩═╩══╩══╝
°•° Deployment Begins •°•
"
echo '
•• Getting Packages and Installing
'
export DEBIAN_FRONTEND=noninteractive
export TZ=Asia/Kolkata
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
apt update && apt upgrade -y && apt install --no-install-recommends -y \
debian-keyring \
debian-archive-keyring \
bash \
curl \
git \
util-linux \
libffi-dev \
libjpeg-dev \
libjpeg62-turbo-dev \
libwebp-dev \
linux-headers-amd64 \
musl-dev \
musl \
neofetch \
python3-lxml \
postgresql \
postgresql-client \
libpq-dev \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
openssl \
pv \
jq \
wget \
python3-dev \
libreadline-dev \
libyaml-dev \
zlib1g \
ffmpeg \
libssl-dev \
libgconf-2-4 \
libxi6 \
zlib1g-dev \
xvfb \
unzip \
make \
libopus0 \
libopus-dev \
gcc \
mediainfo \
megatools
echo '
•• Cloning Repository
'
git clone https://github.com/Teamultroid/Ultroid.git /root/TeamUltroid/
echo '
•• Getting Libraries and Installing
'
pip install --upgrade pip setuptools wheel
pip install search-engine-parser==0.6.2
pip install -r /root/TeamUltroid/requirements.txt
echo "
┏┳┓╋┏┓╋╋╋╋┏┓┏┓
┃┃┣┓┃┗┳┳┳━╋╋┛┃
┃┃┃┗┫┏┫┏┫╋┃┃╋┃
┗━┻━┻━┻┛┗━┻┻━┛
•°• Deployed Successfully °•°
•• Wait till python images are pushed
•• Give build logs in @UltroidSupport if build fails
"