Merge pull request #10 from YuzuZensai/main

Mitigate repo and code to kirameki-cafe
This commit is contained in:
2022-10-30 22:49:10 +07:00
committed by GitHub
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build the Docker image - name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/yuzuzensai/yumi:$(date +%s) run: docker build . --file Dockerfile --tag ghcr.io/kirameki-cafe/yumi:$(date +%s)
+2 -2
View File
@@ -29,7 +29,7 @@ The output will be at ``/dist``, use ``node index.js`` to start
1. Clone this repository 1. Clone this repository
2. Run ``yarn docker-build`` for yarn, or ``npm run docker-build`` for npm to build the image 2. Run ``yarn docker-build`` for yarn, or ``npm run docker-build`` for npm to build the image
Image will be tagged as ``ghcr.io/yuzuzensai/yumi:latest`` Image will be tagged as ``ghcr.io/kirameki-cafe/yumi:latest``
## 🔧 Debugging for development ## 🔧 Debugging for development
@@ -39,7 +39,7 @@ Image will be tagged as ``ghcr.io/yuzuzensai/yumi:latest``
## 🌳 Environment Variables ## 🌳 Environment Variables
Take a look inside [.env.example](https://github.com/YuzuZensai/Yumi/blob/main/.env.example) for example Take a look inside [.env.example](https://github.com/kirameki-cafe/Yumi/blob/main/.env.example) for example
- ``NODE_ENV`` Environment type, ``development`` or ``production`` - ``NODE_ENV`` Environment type, ``development`` or ``production``
- ``DATABASE_URL`` Connection URL to your database. [More info](https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases/connect-your-database-typescript-postgres) - ``DATABASE_URL`` Connection URL to your database. [More info](https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases/connect-your-database-typescript-postgres)
+5 -5
View File
@@ -45,16 +45,16 @@
"tsc": "tsc", "tsc": "tsc",
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly", "development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* dist/configs_example/", "build": "tsc -b && copyfiles -u 1 configs_example/**/*.* dist/configs_example/",
"docker-build": "docker build . -t ghcr.io/yuzuzensai/yumi:latest", "docker-build": "docker build . -t ghcr.io/kirameki-cafe/yumi:latest",
"docker-run": "docker run -d --name yumi --mount type=bind,source=\"$(pwd)\"/configs,target=/home/node/app/configs --network host --env-file .env ghcr.io/yuzuzensai/yumi:latest", "docker-run": "docker run -d --name yumi --mount type=bind,source=\"$(pwd)\"/configs,target=/home/node/app/configs --network host --env-file .env ghcr.io/kirameki-cafe/yumi:latest",
"docker-push": "docker push ghcr.io/yuzuzensai/yumi:latest", "docker-push": "docker push ghcr.io/kirameki-cafe/yumi:latest",
"production": "tsc && node ./dist/index.js", "production": "tsc && node ./dist/index.js",
"test": "mocha -r ts-node/register tests/**/*.ts" "test": "mocha -r ts-node/register tests/**/*.ts"
}, },
"name": "yumi", "name": "yumi",
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"repository": "https://github.com/YuzuZensai/Yumi.git", "repository": "https://github.com/kirameki-cafe/Yumi.git",
"author": "YuzuZensai <contact@kirameki.pink>", "author": "Kirameki Café <contact@kirameki.cafe>",
"license": "GPL-3.0" "license": "GPL-3.0"
} }
+1 -1
View File
@@ -49,7 +49,7 @@ const EMBEDS = {
}, },
{ {
name: '\u200b', name: '\u200b',
value: `**${locale.__('help.footer')}(https://github.com/YuzuZensai/Yumi)**`, value: `**${locale.__('help.footer')}(https://github.com/kirameki-cafe/Yumi)**`,
inline: false inline: false
} }
], ],