Деплой кода на сервера осуществляется при помощи capistrano - инструмента для автоматизации деплоя, написанный на языке ruby.
gem install bundler
apt-get install ruby1.9.1-dev gem install bundler
Деплой:
cd backend/ bundle exec cap deploy -S host=ios bundle exec cap symfony:env:init -S host=ios cd ../webfront/ bundle exec cap staging deploy -S host=ios
cd <yourproject_path>/backend bundle install
bundle exec cap -vT
bundle exec cap staging <команда>
bundle exec cap autotests <команда>
bundle exec cap staging deploy
bundle exec cap autotests deploy
bundle exec cap staging symfony:doctrine:mongodb:schema:recreate
cd backend cap deploy -S host=HOST_NAME
cd backend cap symfony:env:init -S host=HOST_NAME
There was an error while loading. Please reload this page.