riconet/sw-project-skeleton

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

This project contains a skeleton for a SHOPWARE project.

5.5.1 2019-09-16 08:03 UTC

This package is auto-updated.

Last update: 2021-10-16 13:06:07 UTC


README

Need to know

This project is not windows compatible.

Description

This composer project was created, to ease the process of creating a new SHOPWARE Project. This setup contains the commonly used files and folders, to get started and a development environment, based on docker.

How to create a new project / How to use this project

Open your shell and navigate to the destination of your upcoming extension. Execute the following command and remember to define a name for your extension.

composer create-project riconet/sw-project-skeleton:SHOPWARE_VERSION PROJECT_NAME

Installation

After you´ve run the `composer create-project ...` command, navigate in the root of the newly create project and run the following command:

bin/init.sh

This will install a fresh SHOPWARE and start the containers. You have to do this only once, next time, if you want to start the containers, run docker-compose up and to stop them run docker-compose down.

Info

Scripts

This project comes with some scripts, to ease the work, with this configuration. You can find them in `bin`.

All scripts are written for linux/mac os (.sh) and windows (.bat).

file (.sh / .bat)Description
initInitializes a fresh SHOPWARE instance.

Admin user

FieldValue
usernamedemo
passworddemo

Database

FieldValue
databaseapplication
hostdb
useruser
password3306
port3306

composer.json in app folder

Don't forget to change the values 'name' and 'description' to the proper values for the customer.

Import SQL in to the docker container.

cat FILENAME.sql | docker exec -i db /usr/bin/mysql -u root --password=1234 application

Tests

coming soon...