diff --git a/README.md b/README.md index 5e7f01f..c78f4fb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # Deployments_to_Ubuntu +## Vapor app deployment +Step 1: git pull code +Step 2: browse to http://.prelub.com:9000 + username: admin + password: admin +Step 3: Stop app in supervisor +Step 4: Build project +''' + vapor build --enable-prefetching --configuration release +''' +Step 5: Start app in supervisor on the website +Log files should exist in the following directories +'''' + cat /var/log/.prelub.com.log + cat /var/log/.prelub.com.ru_access.log +'''' + +test