Skip to content
This repository was archived by the owner on Nov 13, 2018. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 778 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 778 Bytes

Gurustroy API server

API docs

http://docs.gurustroy.apiary.io/#

Start guard

  • bin/guard

Starting Gurustroy API server

  • bin/rails s

Настроика сервера для деплоя

Не добавлять add_header Strict-Transport-Security max-age=15768000; Рэилс сам добавляет такой хедер, если стоит force_ssl=true.

  • sudo nginx -s reload

deploy

bundle exec cap production deploy