https://github.com/jrson83/dockware-template
shopware development environment.
https://github.com/jrson83/dockware-template
Last synced: 7 months ago
JSON representation
shopware development environment.
- Host: GitHub
- URL: https://github.com/jrson83/dockware-template
- Owner: jrson83
- Created: 2024-11-14T21:12:09.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T17:19:29.000Z (11 months ago)
- Last Synced: 2025-04-02T21:35:35.256Z (7 months ago)
- Language: Makefile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dockware-template
> my shopware development environment.
## Development Links
*Based on dockware [default credentials](https://docs.dockware.io/use-dockware/default-credentials):*
- [localhost](http://localhost/) - Storefront
- [localhost/admin](http://localhost/admin) - Backend
- [localhost/logs](http://localhost/logs) - Logs (see [docs](https://docs.dockware.io/features/pimp-my-log))
- [localhost/adminer.php](http://localhost/adminer.php) - Adminer (see [docs](https://docs.dockware.io/features/adminer))
- [localhost/mailcatcher](http://localhost/mailcatcher) - Mailcatcher (see [docs](https://docs.dockware.io/features/mailcatcher))
## Usage
### Setup
```sh
# execute all initial tasks
make init
```
executes the following tasks:
```sh
# raise the initial docker containers
make init_start
# copy the shopware source
make init_setup
# destroy the initial containers
make init_destroy
# fix permissions
make init_chown
# raise the actual docker containers
make dev_start
# fix permissions
make dev_chown
# fix default language & adminer, install php-cs-fixer
make dev_config
# fix permissions for sure
make dev_chown
```
### Development
```shell
# create a mysql-dump with current timestamp
make dump
# build a theme & clear cache
make build_theme
# build the admin
make build_admin
# build the storefront
make build_storefront
```
#### Speed up compilation
```sh
export SHOPWARE_ADMIN_BUILD_ONLY_EXTENSIONS=1
export DISABLE_ADMIN_COMPILATION_TYPECHECK=1
```