Procházet zdrojové kódy

use npm start, not node <file>

jomo před 10 roky
rodič
revize
bc2bb0bec0
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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)