Testing a feature

To test a new feature of Alumio the feature branch has to be checked out on the local development environment.

Checking out the branch

The test environment can made ready by following these steps in Git Bash on Windows or a terminal on MacOS or Linux.

cd magement
dev up
dev console
git fetch -p origin
git checkout <name-of-feature-branch>
git pull origin
composer update
vendor/bin/magement cache:clear
vendor/bin/magement setup:run

Afterwards the Alumio dashboard is available on http://localhost/3200.

Updating the environment

If changes have been made to the feature the environment needs to be updated. This can be done by pulling changes from the Bitbucket repository and by updating the composer dependencies:

cd magement
dev up
dev console
git pull origin
composer update
vendor/bin/magement cache:clear
vendor/bin/magement setup:run

Stopping and restarting the environment

Use the development manager to stop all docker instances:

cd magement
dev down

The environment can be started again by doing:

cd magement
dev up