-
-
Notifications
You must be signed in to change notification settings - Fork 10
Upgrading
-
Just run:
app/upgrade.sh
-
Pull the latest code from git (Read more about pulling a stable release):
git pull origin master
-
Update git's submodules
-
Install the new versions of our dependencies:
composer install
-
Update the database schema and the configuration file:
composer migrate
-
Refresh the cache:
composer clear
If you feel that the manual upgrade is too automatic for you, you can follow the following guide:
-
Pull the latest code from git (Read more about pulling a stable release):
git pull origin master
-
Update git's submodules
-
Install the new versions of our dependencies:
composer install
-
Update the configuration file:
diff -u app/config.example.yml app/config.yml | colordiff nano app/config.yml
-
Read the changelog:
app/console bzion:changes
-
Update the database schema:
vendor/bin/phinx migrate
-
Refresh the cache:
composer clear
-
Congratulate yourself for the hard work:
app/console bzion:success
BZiON's master branch might contain a lot of untested code. If you want to be sure that you are running a stable enough version, you can checkout the latest tagged commit, instead of pulling directly from git:
# Get new commits and tags from remote
git fetch
# Get latest tag name
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
# Checkout latest tag
git checkout $latestTag
Found an issue? Something not clear? Submit an issue to let us know!
BZiON's so easy, even brad can use it!