add deploy instructions

This commit is contained in:
juzeon 2021-07-24 21:16:00 +08:00
父節點 a4b7536fe0
當前提交 8a92cfc7d7
共有 3 個檔案被更改,包括 20 行新增2 行删除

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
查看文件

@ -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": "",