1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 How portable is the XF setup?

Discussion in 'XenForo Questions and Support' started by Anarchy Angel, Jan 3, 2014.

  1. Anarchy Angel

    Anarchy Angel Member

    I am trying to set up my deployment workflow for XF. Right now this is how I make changes:

    1. Pull from private repository. Pull production database from live and apply to local devel database.
    2. Make changes on devel branch and merge to master when fully tested / approved.
    3. Push changes. Deploy hook moves changes into production and automates restarting php5-fpm and nginx.

    This workflow breaks if XF stores any config changes in the database. I'll assume add-ons won't work with this set up. I'm not talking about user/node permission changes; but are appearance settings or anything in options DB backed?

    What's a proper dev->production workflow for XF?
  2. Liam W

    Liam W Well-Known Member

    Everything in options is stored in the database.

    Even templates are stored in the database.

    Manually test on dev, manually push to production. Best way.

  3. Anarchy Angel

    Anarchy Angel Member

    That's disappointing. Thanks for clearing that up.
    Dan likes this.
  4. Liam W

    Liam W Well-Known Member

    It does allow for easy transfer of a complete install though - just copy the database and it's set up (as long as addon files are present etc.).


Share This Page