Upgrades MacOS
From DreamFactory
Upgrading DreamFactory involves getting the required code via git and composer and then using the Laravel artisan command migrate system data and settings. In these instructions, we will assume you are logged in as a user named dfuser. Anywhere you see this username substitute your own. This should be the same user you used for installation. We will also assume your installed dreamfactory in /usr/local/var/dreamfactory
just like in the Installation instructions.
- Perform a Backup
- Navigate to the install directory
-
$ cd /usr/local/var/dreamfactory
-
- Stash and changes tracked by git
-
$ git stash
-
- Get the latest code
-
$ git checkout master
-
$ git pull origin master
-
- Update composer
-
$ composer self-update
-
- User composer to get dependencies
- Note for commercial users: Copy your commercial license files into the working directory before running this command.
-
$ composer install --no-dev
- Migrate the system data
-
$ php artisan migrate --seed
-
- Clear caches
-
$ php artisan config:clear
-
$ php artisan cache:clear
-
- Log in to your instance in the browser (you may need to refresh/clear browser cache.) Go to the Config tab and confirm the instance was upgraded.