Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Deploy Submarine script
apt update -y && apt upgrade -y && apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common git screen -y && curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && apt-key fingerprint 0EBFCD88 && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && apt update -y && apt-get install docker-ce docker-ce-cli containerd.io -y && docker run hello-world && curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose && ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose && docker-compose --version && git config --global credential.helper 'cache --timeout=15552000' && git clone https://github.com/submarine/bot && cd bot && cd frontend && apt-get install curl software-properties-common -y && curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt-get install -y nodejs && npm i && cd .. && docker-compose up && cp config.example.yaml config.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment