{"_id":"5771272e7209040e005c09b9","__v":0,"parentDoc":null,"user":"560415d590ee490d004404eb","category":{"_id":"577126fc4607a30e001ded35","version":"577126fc4607a30e001ded34","project":"560415f00c78b00d0039b118","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-24T15:25:37.418Z","from_sync":false,"order":0,"slug":"installation","title":"Installation"},"version":{"_id":"577126fc4607a30e001ded34","__v":1,"project":"560415f00c78b00d0039b118","createdAt":"2016-06-27T13:15:40.398Z","releaseDate":"2016-06-27T13:15:40.398Z","categories":["577126fc4607a30e001ded35","577126fc4607a30e001ded36","577126fc4607a30e001ded37","577126fc4607a30e001ded38"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1.0"},"project":"560415f00c78b00d0039b118","githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-27T13:16:30.495Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"# How to upgrade\n\n*Attention! you can use also our most stable version (for example `1.0.0` tag). But to use Symfony 2.8, you need to upgrade to 1.1.0*\n\n## System requirements for version 1.1.0.\n\n##### PHP Version\nPlease be careful to use **PHP version `5.4` and higher, but not PHP7**.\n\n\nIf you deployed wealthbot.io to a VPS server (amazon aws, digitalocean, etc), check your PHP version: \n\nSSH to server, then run `php -v` command.\n\n##### PHP Extensions\nWe use MongoDB and APC cache, and you need to install these 2 extensions (`apc` or `apcu` and `mongo`)\n\n##### Vagrant VirtualBox VM Update\n1)  Please update your VirtualBox software to use latest version, and be careful to not install PHP7 instead of PHP5.\n\n2)  In this version, you need to run `vagrant provision` after `vagrant up` command.\n\n## Process\nTo upgrade a version 1.0.0 install, open the terminal and run the following commands *line-by-line:*\n\n```bash\n# Connect to server\nssh you:::at:::yourserver.domain\n# Change directory to wealthbot root\ncd /var/www/wealthbot_root/\n# Checkout master branch\ngit checkout master\n# Stash your changes (git stash, optional) , then make Git Pull\ngit pull\n# Install dependencies from composer.lock\ncomposer install\n# Clear the cache\nphp app/console cache:clear -e prod\n# Clear the APC cache\nphp app/console apc:clear -e prod\n# Validate the Doctrine database schema\nphp app/console doctrine:schema:validate -e prod\n```\nProfit!\n\n## Upgrading Forks\nIf you forked the main repository, you need to merge latest changes to your fork and then run the commands mentioned above.\n\n**Note:** First, update your fork from the origin repository with this git command:\n```bash\ngit remote add upstream https://github.com/wealthbot-io/wealthbot.git\n```\nFor more information, check this github article (https://help.github.com/articles/syncing-a-fork/)\n\n## Testing\nRun PHPUnit tests before and after upgrade process and compare the results.\n\n\n#### Thank you for upgrading wealthbot.io!","excerpt":"","slug":"upgrading-from-v100","type":"basic","title":"Upgrading from v1.0.0"}

Upgrading from v1.0.0


# How to upgrade *Attention! you can use also our most stable version (for example `1.0.0` tag). But to use Symfony 2.8, you need to upgrade to 1.1.0* ## System requirements for version 1.1.0. ##### PHP Version Please be careful to use **PHP version `5.4` and higher, but not PHP7**. If you deployed wealthbot.io to a VPS server (amazon aws, digitalocean, etc), check your PHP version: SSH to server, then run `php -v` command. ##### PHP Extensions We use MongoDB and APC cache, and you need to install these 2 extensions (`apc` or `apcu` and `mongo`) ##### Vagrant VirtualBox VM Update 1) Please update your VirtualBox software to use latest version, and be careful to not install PHP7 instead of PHP5. 2) In this version, you need to run `vagrant provision` after `vagrant up` command. ## Process To upgrade a version 1.0.0 install, open the terminal and run the following commands *line-by-line:* ```bash # Connect to server ssh you@yourserver.domain # Change directory to wealthbot root cd /var/www/wealthbot_root/ # Checkout master branch git checkout master # Stash your changes (git stash, optional) , then make Git Pull git pull # Install dependencies from composer.lock composer install # Clear the cache php app/console cache:clear -e prod # Clear the APC cache php app/console apc:clear -e prod # Validate the Doctrine database schema php app/console doctrine:schema:validate -e prod ``` Profit! ## Upgrading Forks If you forked the main repository, you need to merge latest changes to your fork and then run the commands mentioned above. **Note:** First, update your fork from the origin repository with this git command: ```bash git remote add upstream https://github.com/wealthbot-io/wealthbot.git ``` For more information, check this github article (https://help.github.com/articles/syncing-a-fork/) ## Testing Run PHPUnit tests before and after upgrade process and compare the results. #### Thank you for upgrading wealthbot.io!