Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
run: docker swarm init --default-addr-pool 10.20.0.0/16
- name: 'Create proxy network'
run: make docker create-network
- name: 'image pull'
run: make docker image-pull
- name: 'Build containers'
run: make docker deploy
- name: 'Installation version PROD'
run: make env-prod
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -57,17 +57,3 @@ jobs:
run: make composer dev
- name: linter readme.md
run: make linter readme
# - name: Run PHP Code Sniffer
# run: make linter phpcs-onlyerror
# - name: Run PHP MD
# run: make linter phpmd
# - name: Run PHPMND
# run: make linter phpmnd
# - name: Linter yaml
# run: make linter yaml
# - name: Run phpstan
# run: make linter phpstan
# - name: Run Acceptance Tests
# run: make tests behat
# - name: Run Tests
# run: make tests simple-phpunit-unit-integration
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dump:

apps/composer.lock: apps/composer.json
@docker exec $(PHPFPMFULLNAME) make composer.lock

apps/vendor: apps/composer.lock
@docker exec $(PHPFPMFULLNAME) make vendor

Expand Down Expand Up @@ -105,6 +105,7 @@ else ifeq ($(COMMAND_ARGS),deploy)
else ifeq ($(COMMAND_ARGS),image-pull)
@docker image pull httpd
@docker image pull koromerzhin/phpfpm:7.4.12-xdebug
@docker image pull mariadb:10.5.8
else ifeq ($(COMMAND_ARGS),ls)
@docker stack services $(STACK)
else ifeq ($(COMMAND_ARGS),stop)
Expand Down Expand Up @@ -321,4 +322,4 @@ else
@echo "behat: Lance les tests behat"
@echo "simple-phpunit-unit-integration: lance les tests phpunit"
@echo "simple-phpunit: lance les tests phpunit"
endif
endif
39 changes: 22 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/koromerzhin/template-wordpress/graphs/commit-activity)
![Continuous Integration](https://github.com/koromerzhin/template-wordpress/workflows/Continuous%20Integration/badge.svg?branch=develop)<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
![Continuous Integration](https://github.com/koromerzhin/template-wordpress/workflows/Continuous%20Integration/badge.svg?branch=develop)

> Template de site internet sous wordpress

## 🏠 [Homepage](https://github.com/koromerzhin/template-wordpress#readme)

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

## Need

Software:
Expand All @@ -32,7 +36,7 @@ Hosts:

## Récupérer les images docker

``` sh
```sh
make docker image-pull
```

Expand All @@ -44,19 +48,19 @@ make install

## after git add

``` sh
```sh
make git check
```

## Replace git commit

``` sh
```sh
make git commit
```

## help

``` sh
```sh
make help
```

Expand All @@ -71,11 +75,10 @@ make help

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/koromerzhin/template-wordpress/issues).
You can also take a look at the [contributing guide](
https://github.com/koromerzhin/template-wordpress/blob/develop/CONTRIBUTING.md
).
Contributions, issues and feature requests are welcome! Feel free to check
[issues page](https://github.com/koromerzhin/template-wordpress/issues). You can
also take a look at the
[contributing guide](https://github.com/koromerzhin/template-wordpress/blob/develop/CONTRIBUTING.md).

## Show your support

Expand All @@ -85,13 +88,14 @@ Give a ⭐️ if this project helped you!

Copyright © 2020 [Koromerzhin](https://github.com/koromerzhin).

This project is [MIT](
https://github.com/koromerzhin/template-wordpress/blob/develop/LICENSE
) licensed.
This project is
[MIT](https://github.com/koromerzhin/template-wordpress/blob/develop/LICENSE)
licensed.

## ✨ Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Thanks goes to these wonderful people
([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
Expand All @@ -108,7 +112,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors)
This project follows the
[all-contributors](https://github.com/all-contributors/all-contributors)
specification. Contributions of any kind welcome!

---
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- "traefik.http.routers.mailhog-wordpress-tls.tls.domains[0].sans=mailhog-wordpress-*.traefik.me"
- "traefik.http.services.mailhog-wordpress.loadbalancer.server.port=8025"
mariadb:
image: mariadb:10.5.6
image: mariadb:10.5.8
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: core
Expand Down