-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Komtet/feature/add_phone_handling_as_user_…
…contact#KK-1797 В чек подставляется номер телефона, если в заказе нет email
- Loading branch information
Showing
12 changed files
with
66 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
docker_env/php** | ||
docker_env/mysql** | ||
/php/** | ||
/mysql/** | ||
komtetkassa-*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,29 @@ | ||
SHELL:=/bin/bash | ||
VERSION=$(shell grep -o '^[0-9]\+\.[0-9]\+\.[0-9]\+' CHANGELOG.rst | head -n1) | ||
FILENAME=komtetkassa-$(shell grep -o '^[0-9]\+\.[0-9]\+\.[0-9]\+' CHANGELOG.rst | head -n1).zip | ||
|
||
release: | ||
# Colors | ||
Color_Off=\033[0m | ||
Red=\033[1;31m | ||
|
||
help: | ||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | sort | ||
|
||
version: ## Версия проекта | ||
@echo -e "${Red}Version:${Color_Off} $(VERSION)"; | ||
|
||
start: stop ## Запустить контейнер | ||
@docker-compose up -d | ||
|
||
stop: ## Остановить контейнер | ||
@docker-compose down | ||
|
||
update: ## Обновить модуль | ||
@cp -r -f app/addons/rus_komtet_kassa/. php/app/addons/rus_komtet_kassa/ | ||
|
||
release: ## Архивировать для загрузки в маркет | ||
@rm ${FILENAME} || echo "No file to remove" | ||
@zip -r ${FILENAME} app var --exclude=*docker_env* | ||
|
||
.PHONY: version release | ||
.DEFAULT_GOAL := version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
komtet_kassa_cscart | ||
=============================== | ||
|
||
Чтобы развернуть окружение и потестировать плагин в docker контейнере: | ||
1. Создать папку /php, скопировать в нее текущий код CMS CS-Cart | ||
2. Создать папку для хранения данных БД /mysql | ||
3. Запустить проект | ||
```sh | ||
make start | ||
``` | ||
4. Перейти в браузере на localhost:8100 и выполнить установку CMS, параметры подключения к БД указать | ||
```sh | ||
host: db, | ||
user: devuser, | ||
password: devpass, | ||
db: test_db | ||
``` | ||
5. Установить и настроить плагин через инсталлер | ||
|
||
* Обновление плагина Комтет Кассы (будет обновлён модуль в папке addons/rus_komtet_kassa) | ||
```sh | ||
make update_kassa | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.