add deploy instructions
此提交包含在:
3
.gitignore
已供應
3
.gitignore
已供應
@@ -1,4 +1,5 @@
|
||||
.idea/*
|
||||
node_modules/*
|
||||
.env
|
||||
/pnpm-lock.yaml
|
||||
/pnpm-lock.yaml
|
||||
build/*
|
16
README.md
一般檔案
16
README.md
一般檔案
@@ -0,0 +1,16 @@
|
||||
# neo-double-hearts
|
||||
|
||||
```bash
|
||||
git clone https://git.sduonline.cn/juzheng/neo-double-hearts
|
||||
cd neo-double-hearts/
|
||||
cp .env.example .env
|
||||
vim .env # Fill in your config
|
||||
npm i typescript -g
|
||||
npm i
|
||||
|
||||
# Compile & Run
|
||||
npm run build
|
||||
npm start
|
||||
# Or:
|
||||
node --require ts-node/register src/index.ts
|
||||
```
|
@@ -5,7 +5,8 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "build/index.js"
|
||||
"start": "build/index.js",
|
||||
"build": "tsc"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
新增問題並參考
封鎖使用者