rpm-mcarman 2 лет назад
Родитель
Сommit
c6fd0e249b
1 измененных файлов: 18 добавлений и 0 удалений
  1. +18
    -0
      README.md

+ 18
- 0
README.md Просмотреть файл

@@ -1,2 +1,20 @@
# Deployments_to_Ubuntu
## Vapor app deployment
Step 1: git pull code
Step 2: browse to http://<server name>.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/<appname>.prelub.com.log
cat /var/log/<appname>.prelub.com.ru_access.log
''''

test

Загрузка…
Отмена
Сохранить