2
0
Эх сурвалжийг харах

use npm start, not node <file>

jomo 10 жил өмнө
parent
commit
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`
 * `npm install`
 * `cp "modules/config.example.js" "modules/config.js"`
 * `cp "modules/config.example.js" "modules/config.js"`
 * Ensure a `redis-server` is running
 * Ensure a `redis-server` is running
-* `node server.js`
+* `npm start`
 * Access [http://localhost:3000](http://localhost:3000)
 * Access [http://localhost:3000](http://localhost:3000)