Skip to content

Commit

Permalink
Merge pull request #447 from mpysiak/SYL-4032-bump-to-1.14
Browse files Browse the repository at this point in the history
Update readme installation instructions
  • Loading branch information
GSadee authored Dec 10, 2024
2 parents 89447c4 + 9dfd4c6 commit e394f43
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,33 @@ there you will find the <a href="https://docs.sylius.com/en/latest/plugin-develo

## Quickstart Installation

### Traditional
Run `composer create-project sylius/plugin-skeleton ProjectName`.

1. Run `composer create-project sylius/plugin-skeleton ProjectName`.
### Traditional

2. From the plugin skeleton root directory, run the following commands:
1. From the plugin skeleton root directory, run the following commands:

```bash
$ (cd tests/Application && yarn install)
$ (cd tests/Application && yarn build)
$ (cd tests/Application && APP_ENV=test bin/console assets:install public)

$ (cd tests/Application && APP_ENV=test bin/console doctrine:database:create)
$ (cd tests/Application && APP_ENV=test bin/console doctrine:schema:create)
# Optionally load data fixtures
$ (cd tests/Application && APP_ENV=test bin/console sylius:fixtures:load --no-interaction)
```

To be able to set up a plugin's database, remember to configure you database credentials in `tests/Application/.env` and `tests/Application/.env.test`.
To be able to set up a plugin's database, remember to configure your database credentials in `tests/Application/.env` and `tests/Application/.env.test`.
1. Run your local server:
```bash
symfony server:ca:install
APP_ENV=test symfony server:start --dir=tests/Application/public --daemon
```
1. Open your browser and navigate to `https://localhost:8000`.
### Docker
Expand Down

0 comments on commit e394f43

Please sign in to comment.