yarn add gancio --prod
apt-get install postgresql
# Create the database
su postgres -c psql
@@ -324,10 +324,18 @@ su gancio
sudo yarn global add pm2
pm2 start gancio -- --config config.json
-# Run this command to run your application as a service:
-sudo env PATH=$PATH:/usr/local/bin pm2 startup -u gancio
+# Run this command to run your application as a service and automatically restart after a reboot:
+pm2 startup # read the output!
+sudo pm2 startup -u gancio
+
+ - Upgrade
+
+
+sudo yarn global add gancio
+sudo service pm2 restart
+
config.json file and restart the container on your needs, see Configuration for more details.cd /opt/gancio
+docker-compose up -d --no-deps --build
+