-
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.
- Loading branch information
Showing
3 changed files
with
59 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP with composer v2 | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.1' | ||
tools: composer:v2 | ||
|
||
- name: Install composer dependencies | ||
run: composer install --no-dev | ||
|
||
- name: Prepare zip package | ||
run: | | ||
mkdir simpay | ||
cp -r config controllers mails src views composer.json composer.lock config.xml index.php LICENSE logo.png simpay.php simpay | ||
zip -r simpay-prestashop-${{ github.ref_name }}.zip simpay | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: simpay-prestashop-${{ github.ref_name }}.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
# Simpay Prestashop | ||
|
||
### Requirements | ||
|
||
Prestashop >= 8.0 | ||
PHP >= 8.1 | ||
|
||
### Installation | ||
|
||
|
||
|
||
### Development | ||
|
||
```bash | ||
docker compose up -d | ||
``` | ||
|
||
Shop link - http://localhost:28080 | ||
Admin panel link - http://localhost:28080/admin | ||
|
||
```yaml | ||
email: [email protected] | ||
password: simpay_demo | ||
``` |
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ services: | |
- PS_DEV_MODE=1 | ||
- PS_DOMAIN=localhost:28080 | ||
- [email protected] | ||
- ADMIN_PASSWD=simpay_demo | ||
- ADMIN_PASSWD=demo_simpay | ||
- _PS_ROOT_DIR_=/var/www/html | ||
depends_on: | ||
- db | ||
|
@@ -35,4 +35,4 @@ volumes: | |
mysql_data: | ||
driver: local | ||
prestashop_data: | ||
driver: local | ||
driver: local |