From a4e254508d13ecad227181799d40044f86642fd1 Mon Sep 17 00:00:00 2001 From: Midka <me@midka.dev> Date: Sat, 15 Oct 2022 12:40:56 +0300 Subject: [PATCH] add: steps to deploy to readme --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index aeb329b..577a14c 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,19 @@ # A Discord Bot for Hacksquad +## How to Deploy? ### Requirements -- Git - Docker - Docker Compose -### How to run +### Steps To Run -1. `git clone https://github.com/HackSquadDev/discord-rust/` -1. `cp .env.example .env` -1. Fill out the things in `.env` -1. `docker compose up` +1. Copy the `docker-compose.yml` and `.env.example` files to your server +1. Rename `.env.example` -> `.env`. And fill out the values +1. `docker pull ghcr.io/hacksquaddev/discord-rust:main` +1. `docker compose up` or `docker-compose up` for earlier versions of docker compose + +### Steps to Redeploy + +Repeat steps 3-4 on [Steps To Run](#steps-to-run)