dockware
  • dockware doc's
  • News
  • Setup
    • Docker Setup
    • What Image should you use?
    • Performance Tweaks
  • Use Dockware
    • First Run
    • Update Dockware
    • Advanced Run
    • Default Credentials
    • Symfony or Shopware 5
    • Changelog
  • Features
    • Intro
    • Environment Variables
    • Adminer
    • Mailcatcher
    • Switch PHP Version
    • Switch Node Version
    • Tideways Profiling
    • Pimp my Log
    • Filebeat
    • SSH Users
    • MySQL Users
    • Shopware Currency
  • Development
    • Intro
    • Start Developing
    • Switch Branches
    • Debugging
    • Watchers
    • App Development
    • Update Shopware
    • Dockware Essentials
    • Custom Domains
    • Custom Images
    • Code Coverage
    • CLI Build Shopware 6 Plugin
    • Multi-Environment Setups
  • Contribute
    • Intro
    • Setup Github Version
    • Create Feature
    • Code Styles
    • Testing
    • Create Pull Requests
  • CI/CD
    • Github
    • Gitlab
    • Bitbucket
    • Buddy
  • Tips & Tricks
    • Create a new Project
    • Bind-Mounting
    • Persisting Data
    • Housekeeping
    • Online Servers
    • Performance on Mac
    • Security
  • FAQ
    • Sequel Pro
    • Dockware and other images
    • Scripts (PSH?)
    • Redis
    • Error Port not available
    • MySQL failed
    • Elasticsearch
    • Windows Problems
    • Chrome Problems
    • Import MySQL Dump
    • Shopware 5 Support
    • Use Https/SSL
    • Container hangs in Pipeline
    • Disable the admin worker
  • Additional Links
    • Imprint
    • Founders
    • Dockware website
    • Dockware in Shopware Slack
Powered by GitBook
On this page

Was this helpful?

  1. Contribute

Create Feature

t's finally time to create our new feature.

dockware brings you a running GitHub version of Shopware 6. Still, it's not possible to always deliver the latest commit. There will be multiple new ones everyday on GitHub.

We recommend pulling the latest version before you start a new feature. Do this by pulling the "development" and the "platform" repository on your host machine. Open your terminal and navigate to the "src" folder.

ON HOST
git pull
cd platform && git pull

Great, we are up-to-date. Now just start a new feature branch that will be used for the pull request later on.

ON HOST
git checkout -b my-new-feature origin/trunk

****

Upload Source / Switch Branches

To restart your work from your updated repository, please upload the source to your docker container.

Please note, that due to branch switching it can happen that symlinks get lost!

Just remove the "composer.lock" along with the "/vendor" folder and use "composer install" one more time.

An even better and cleaner idea is to completely reinstall Shopware when starting all over.

Here is a script that completely reinstalls Shopware and makes sure that you can work smoothly:

ON HOST
cd ((outside src directory)
docker exec -it shopware bash -c 'sudo rm -rf /var/www/html/*'
docker cp ./src/. shopware:/var/www/html/
docker exec -it shopware bash -c 'sudo rm -rf composer.lock'
docker exec -it shopware bash -c 'sudo rm -rf /var/www/html/vendor'
docker exec -it shopware bash -c 'sudo chown www-data:www-data /var/www -R'
docker exec -it shopware bash -c './psh.phar install'
PreviousSetup Github VersionNextCode Styles

Last updated 3 years ago

Was this helpful?

Open and your updated Shopware 6 should be back.

http://localhost