소스 검색

use npm start, not node <file>

jomo 10 년 전
부모
커밋
bc2bb0bec0
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Procfile
  2. 1 1
      README.md

+ 1 - 1
Procfile

@@ -1 +1 @@
-web: cp "modules/config.example.js" "modules/config.js" && node server.js
+web: cp "modules/config.example.js" "modules/config.js" && npm start

+ 1 - 1
README.md

@@ -24,5 +24,5 @@ Please [visit the website](https://crafatar.com) for details.
 * `npm install`
 * `cp "modules/config.example.js" "modules/config.js"`
 * Ensure a `redis-server` is running
-* `node server.js`
+* `npm start`
 * Access [http://localhost:3000](http://localhost:3000)