Deploying Symfony2 application, working example

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gintare
    New Member
    • Mar 2007
    • 103

    Deploying Symfony2 application, working example

    I am not able to deploy the project to the Server with Magellanes.

    I am getting output:
    Code:
    "Not found required config C:\Bitnami\wampstack-5.6.17-0\sym_prog/
    .mage/config/environment/production.yml for environment production "
    Full error message looks like this:
    Code:
    C:\Program Files\Git>cd c:\bit*\wamp*\sym_prog
    
    c:\Bitnami\wampstack-5.6.17-0\sym_prog>mage deploy to:production
    Starting ←[0;34mMagallanes←[0m
    
            ←[0;31mNot found required config C:\Bitnami\wampstack-5.6.17-0\sym_prog/
    .mage/config/environment/production.yml for environment production←[0m
    
    Finished ←[0;34mMagallanes←[0m

    C:\Bitnami\wamp stack-5.6.17-0\sym_prog\proj 282recip\.mage\ config\environm ent\production. yml

    Code:
    #production
    deployment:
      user: gintare
      from: ./
      to: www.statgint.com/proj282rec
      excludes:
    releases:
      enabled: true
      max: 10
      symlink: current
      directory: releases
    hosts: 108.175.157.32
    tasks:
      pre-deploy:
        - scm/update
      on-deploy:
        - symfony2/cache-warmup: {env: prod}
      post-release:
        - purge-apc-cache
      post-deploy:
        - purge-varnish-cache
    Actually, i am not sure
    1) what shall be name,
    2) how to enable connection without a password? I made ssk key without a password and uplaod to the server, but i do not know how to configure this in Magellanes ?
    3) Do i have to script tasks manually?
Working...