3 Update project on Server
mcarman урећивао ову страницу пре 3 година

Welcome to the Wiki.

To update Server

  1. Commmit changes to repository.
  2. Pull newest project files to server. git pull will do it.
  3. Browse to http://vapor.prelub.com:9001 and user username: admin and password: admin
  4. Stop the fueling service
  5. SSH to username@vapor.prelub.com
  6. CD into fueling_v1 directory located at /home/mcarman/fueling_v1
  7. Use this build command vapor build --enable-prefetching --configuration release
  8. Once build completes restart the fueling service in supervisor on the web.

If the project does not build you may need to update the swift version used. If so use these two commands echo “export PATH=/home/mcarman/swift-5.8-RELEASE-ubuntu20.04/usr/bin:$PATH” » ~/.zshrc

source ~/.zshrc