Explorar o código

use npm start, not node <file>

jomo %!s(int64=10) %!d(string=hai) anos
pai
achega
bc2bb0bec0
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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)