Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unixporn/trup
Discord bot for the Unixporn community
https://github.com/unixporn/trup
hacktoberfest
Last synced: 6 days ago
JSON representation
Discord bot for the Unixporn community
- Host: GitHub
- URL: https://github.com/unixporn/trup
- Owner: unixporn
- License: mpl-2.0
- Archived: true
- Created: 2020-05-05T14:49:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T10:04:55.000Z (over 3 years ago)
- Last Synced: 2024-08-01T19:54:54.049Z (3 months ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 393 KB
- Stars: 47
- Watchers: 9
- Forks: 10
- Open Issues: 35
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Trup
**A Discord bot for the Unixporn community**
![build status](https://github.com/unixporn/trup/workflows/build/badge.svg)
![lint status](https://github.com/unixporn/trup/workflows/lint/badge.svg)# Dependencies
- Go
- PostgreSQL 11 or above# Setup with Docker
After cloning the repository, create a file called `.env` containing the necessary environment variables (as shown in `/.env.example`) in the project root.
Afterwards, you can initialize the Docker services by running
```sh
docker-compose up -d
```# Automatic setup with Nix
```sh
# Install the Nix package manager:
curl -L https://nixos.org/nix/install | sh# Clone this repo
git clone https://github.com/unixporn/trup
cd trup# Enter the dev environment
nix-shell# Set environment variables
cp .env.example .envgo run .
```# Set up the database
No need to do this if you use Nix.
```sh
# Database
createdb trup
psql trup