mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Merge pull request #10 from YuzuZensai/main
Mitigate repo and code to kirameki-cafe
This commit is contained in:
@@ -15,4 +15,4 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- 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)
|
||||
|
||||
@@ -29,7 +29,7 @@ The output will be at ``/dist``, use ``node index.js`` to start
|
||||
1. Clone this repository
|
||||
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
|
||||
|
||||
@@ -39,7 +39,7 @@ Image will be tagged as ``ghcr.io/yuzuzensai/yumi:latest``
|
||||
|
||||
## 🌳 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``
|
||||
- ``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
@@ -45,16 +45,16 @@
|
||||
"tsc": "tsc",
|
||||
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
|
||||
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* dist/configs_example/",
|
||||
"docker-build": "docker build . -t 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/yuzuzensai/yumi:latest",
|
||||
"docker-push": "docker push 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/kirameki-cafe/yumi:latest",
|
||||
"docker-push": "docker push ghcr.io/kirameki-cafe/yumi:latest",
|
||||
"production": "tsc && node ./dist/index.js",
|
||||
"test": "mocha -r ts-node/register tests/**/*.ts"
|
||||
},
|
||||
"name": "yumi",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/YuzuZensai/Yumi.git",
|
||||
"author": "YuzuZensai <contact@kirameki.pink>",
|
||||
"repository": "https://github.com/kirameki-cafe/Yumi.git",
|
||||
"author": "Kirameki Café <contact@kirameki.cafe>",
|
||||
"license": "GPL-3.0"
|
||||
}
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ const EMBEDS = {
|
||||
},
|
||||
{
|
||||
name: '\u200b',
|
||||
value: `**${locale.__('help.footer')}(https://github.com/YuzuZensai/Yumi)**`,
|
||||
value: `**${locale.__('help.footer')}(https://github.com/kirameki-cafe/Yumi)**`,
|
||||
inline: false
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user