Pārlūkot izejas kodu

Add note on the binaries

Girish Ramakrishnan 7 gadi atpakaļ
vecāks
revīzija
c43134d7b3
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. 6 1
      start.sh

+ 6 - 1
start.sh

@@ -82,7 +82,12 @@ ${mongo_cli} --eval "db.objects.update({ _key: \"settings:emailer-local\" }, { \
 ${mongo_cli} --eval "db.objects.update({ _key: \"config\" }, { \$set: { \"email:from\": \"${MAIL_FROM}\", \"email:from_name\": \"NodeBB\" } }, { upsert: true })"
 ${mongo_cli} --eval "db.objects.update({ _key: \"plugins:active\" }, { \$set: { \"value\": \"nodebb-plugin-emailer-local\", \"score\": \"0\" } }, { upsert: true })"
 
-echo "=> Updating nodebb"
+# there are 3 binaries
+# nodebb - this is used for controlling nodebb (start/stop/restart) etc
+# loader - this is what "nodebb start" starts. loader spawns 'n' number of app(s)
+# app    - this is what "nodebb build" calls
+
+echo "=> Updating nodebb (and building assets)"
 /usr/local/bin/gosu cloudron:cloudron node /app/code/app --upgrade --series
 
 echo "=> Starting nodebb"