Skip to content

Commit

Permalink
add: steps to deploy to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kymppi committed Oct 15, 2022
1 parent 3c224a8 commit a4e2545
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit a4e2545

Please sign in to comment.