Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/4.0' into 4428
Browse files Browse the repository at this point in the history
  • Loading branch information
okazy committed Feb 6, 2020
2 parents 1585f5c + ed5759a commit 0fb1417
Show file tree
Hide file tree
Showing 24 changed files with 578 additions and 1,256 deletions.
2 changes: 2 additions & 0 deletions .github/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
order allow,deny
deny from all
16 changes: 8 additions & 8 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ DirectoryIndex index.php index.html .ht
</IfModule>

# 管理画面へのBasic認証サンプル
#
# AuthType Basic
# AuthName "Please enter username and password"
# AuthUserFile /path/to/.htpasswd
# AuthGroupFile /dev/null
# require valid-user
#
# SetEnvIf Request_URI "^/admin" admin_path # ^/adminは, 管理画面URLに応じて変更してください
# AuthType Basic
# AuthName "Please enter username and password"
# AuthUserFile /path/to/.htpasswd
# AuthGroupFile /dev/null
# require valid-user
#
# SetEnvIf Request_URI "^/admin" admin_path # ^/adminは, 管理画面URLに応じて変更してください
# <RequireAll>
# Require all granted
# Require not env admin_path
# </RequireAll>#
# </RequireAll>
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ services:
- xvfb

addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
chrome: stable

cache:
directories:
Expand All @@ -38,6 +34,7 @@ matrix:
allow_failures:
- php: 7.4snapshot
- env: DATABASE_URL=sqlite:///var/eccube.db DATABASE_SERVER_VERSION=3 COVERAGE=1
- env: APP_ENV=codeception

## see https://github.com/symfony/symfony/blob/e0bdc0c35e9afdb3bee8af172f90e9648c4012fc/.travis.yml#L92-L97
before_install: &php_setup |
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/EC-CUBE/ec-cube/badges/quality-score.png?b=4.0)](https://scrutinizer-ci.com/g/EC-CUBE/ec-cube/?branch=4.0)
[![Coverage Status](https://coveralls.io/repos/github/EC-CUBE/ec-cube/badge.svg?branch=4.0)](https://coveralls.io/github/EC-CUBE/ec-cube?branch=4.0)

[![Slack](https://img.shields.io/badge/slack-join%5fchat-brightgreen.svg?style=flat)](https://www.ec-cube.net/rd.php?aid=join-slack)
[![Slack](https://img.shields.io/badge/slack-join%5fchat-brightgreen.svg?style=flat)](https://join.slack.com/t/ec-cube/shared_invite/enQtNDA1MDYzNDQxMTIzLTY5MTRhOGQ2MmZhMjQxYTAwMmVlMDc5MDU2NjJlZmFiM2E3M2Q0M2Y3OTRlMGY4NTQzN2JiZDBkNmQwNTUzYzc)

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

Expand All @@ -29,10 +29,10 @@
Sass のソースコードは `html/template/{admin,default}/assets/scss` にあります。
前提として [https://nodejs.org/ja/] より、 Node.js をインストールしておいてください。

以下のコマンドでビルドすることで、 `html/template/{admin,default}/assets/css` に CSS ファイルが出力されます。
以下のコマンドでビルドすることで、 `html/template/**/assets/css` に CSS ファイルが出力されます。

```shell
npm install # 初回のみ
npm ci # 初回およびpackage-lock.jsonに変更があったとき
npm run build # Sass のビルド
```

Expand Down Expand Up @@ -62,7 +62,7 @@ EC-CUBE 4.0の不具合の修正、機能のブラッシュアップを目的と
Pull Requestの送信前に、Issueにて提議いただく事も可能です。
Issuesの利用方法については、[こちら](https://github.com/EC-CUBE/ec-cube/wiki/Issues%E3%81%AE%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95)をご確認ください。

[Slack](https://www.ec-cube.net/rd.php?aid=join-slack)でも本体の開発に関する意見交換などを行っております。
[Slack](https://join.slack.com/t/ec-cube/shared_invite/enQtNDA1MDYzNDQxMTIzLTY5MTRhOGQ2MmZhMjQxYTAwMmVlMDc5MDU2NjJlZmFiM2E3M2Q0M2Y3OTRlMGY4NTQzN2JiZDBkNmQwNTUzYzc)でも本体の開発に関する意見交換などを行っております。



Expand Down
24 changes: 12 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"

networks:
backend:
backend:
driver: bridge

volumes:
Expand All @@ -11,17 +11,17 @@ volumes:
driver: local
mailcatcher-data:
driver: local

### ignore folder volume #####
var:
driver: local
vender:
vendor:
driver: local

services:
### ECCube4 ##################################
ec-cube:
build:
build:
context: .
args:
# ビルド時のECCubeインストールスクリプトをスキップする場合にtrueを指定する。
Expand All @@ -34,10 +34,10 @@ services:
- ".:/var/www/html:cached"
### 同期対象からコストの重いフォルダを除外 #####################
- "var:/var/www/html/var"
- "vender:/var/www/html/vendor"
networks:
- "vendor:/var/www/html/vendor"
networks:
- backend

### Postgres ################################
postgres:
image: postgres:10
Expand All @@ -49,9 +49,9 @@ services:
- 15432:5432
volumes:
- pg-database:/var/lib/postgresql/data
networks:
networks:
- backend

### MySQL ##################################
mysql:
image: mysql:5.7
Expand All @@ -64,7 +64,7 @@ services:
- mysql-database:/var/lib/mysql
ports:
- 13306:3306
networks:
networks:
- backend

### Mailcatcher ##################################
Expand All @@ -73,5 +73,5 @@ services:
ports:
- "1080:1080"
- "1025:1025"
networks:
- backend
networks:
- backend
Loading

0 comments on commit 0fb1417

Please sign in to comment.