add deploy instructions
This commit is contained in:
父節點
a4b7536fe0
當前提交
8a92cfc7d7
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
node_modules/*
|
node_modules/*
|
||||||
.env
|
.env
|
||||||
/pnpm-lock.yaml
|
/pnpm-lock.yaml
|
||||||
|
build/*
|
16
README.md
Normal file
16
README.md
Normal file
@ -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",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "build/index.js"
|
"start": "build/index.js",
|
||||||
|
"build": "tsc"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
載入中…
x
新增問題並參考
Block a user