-
Notifications
You must be signed in to change notification settings - Fork 7
UPV Server
URL: https://soundcool.webs.upv.es/
So the "Pull Updates" checks, if there are any changes on the Github repository, pulls them to the UPV server. Once the changes are fetched, it triggers the pleask_deployment.sh script currently placed at the root of the Github repository. It completed the setup in the following manner
- Fetch npm modules for frontend
- Run Webpack build to generate static files
- Fetch npm modules for backend
- Once these steps are done, we copy our backend from the cloned directory, ' httpdocs/gitSoundcool
tohttpdocs, which is a node server inplesk`. - After that, we finish the setup by modifying the modification timestamp of
httpdocs/tmp/restart.txtwhich restarts the node.js server.
Also, as the copy operation starts only if previous operations were successful hence there are very low chances that the website will go down.
In any case, if it goes down and it gets hard to figure out the issue. One can simply upload a working backend of the soundcool to httpsdocs directory by drag and drop operation using file management on the UPV server.
This is a quick doc but should give somewhat the idea of what is going on and what should we do if anything goes wrong.