Skip to content

Latest commit

History

History
48 lines (36 loc) 路 980 Bytes

CONTRIBUTING.md

File metadata and controls

48 lines (36 loc) 路 980 Bytes

Contribution Guide

Development Guide

# clone repo
git clone https://github.com/holodata/ShipID.git
cd ShipID
npm install

# setup .env
cp .env.placeholder .env
vim .env

# deploy commands
npm run deploy-commands

# fire up dev containers
docker compose up --build

docker compose exec bot yarn prisma db push
/pair channel:UC5CwaMl1eIgY8h02uZw7u8A role:@鈽勶笍Hoshiyomi

Deploy Guide (Maintainers only)

git pull
docker-compose up --build
db.createUser({
  user: "shipid",
  pwd: passwordPrompt(), // or cleartext password
  roles: [{ role: "read", db: "honeybee" }],
});

References