Skip to content

Commit

Permalink
WEB-434: Fix local project setup. (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
petarbasic authored Nov 28, 2022
1 parent 6671fb8 commit 5b728fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md.dist
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ To setup the project, ensure you have all prerequesites fullfilled and follow ne
* Initialize setup and run docker compose

phapp setup localdev
phapp build
docker-compose up -d --build

* Build the app:
Expand Down Expand Up @@ -71,7 +70,7 @@ During development it's convenient to permanently switch to the docker cli conta
## Command line tools

### Phapp
Version 0.6.7 or later is required. Either install it globally and run `phapp`
Version 0.7.0 or later is required. Either install it globally and run `phapp`
or execute the embedded phapp version from the root repository directory:

```./vendor/bin/phapp ```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"tools": {
"phapp": {
"url": "https://github.com/drunomics/phapp-cli/releases/download/0.7.0/phapp.phar",
"version": "0.6.7"
"version": "0.7.0"
},
"local-php-security-checker": {
"url": "https://github.com/fabpot/local-php-security-checker/releases/download/v2.0.5/local-php-security-checker_2.0.5_linux_amd64",
Expand Down
2 changes: 1 addition & 1 deletion phapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ commands:
source dotenv/loader.sh
build: |
EXTRA_ARGS=$([[ $PHAPP_ENV_MODE = 'production' ]] && echo '--no-dev' || echo '');
composer install --no-interaction $EXTRA_ARGS
composer install --ignore-platform-reqs --no-interaction $EXTRA_ARGS
clean: |
# Clean composer vendor via the provided script.
composer clean
Expand Down

0 comments on commit 5b728fb

Please sign in to comment.