Skip to content

Commit 7505515

Browse files
Merge pull request #297 from itk-dev/feature/LOOP-1211-installation-documentation
LOOP-1211: installation documentation
2 parents 6a77268 + 21c836c commit 7505515

File tree

2 files changed

+7
-21
lines changed

2 files changed

+7
-21
lines changed

README.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,6 @@ read on the url reported by
7878
echo "http://$(docker-compose port mailhog 8025)"
7979
```
8080

81-
#### Using `symfony` binary
82-
83-
```sh
84-
docker-compose up --detach
85-
symfony composer install
86-
symfony php vendor/bin/drush --yes site:install os2loop --existing-config
87-
# Start the server
88-
symfony local:server:start --port=8000 --daemon
89-
# Get the site url
90-
echo "http://127.0.0.1:8000"
91-
# Get admin sign in url
92-
symfony php vendor/bin/drush --uri=https://127.0.0.1:8000 user:login
93-
```
94-
9581
### Fixtures
9682

9783
We have fixtures for all content types.
@@ -100,15 +86,15 @@ To load all content type fixtures, run:
10086

10187
```sh
10288
# Find and enable all fixtures modules
103-
vendor/bin/drush --yes pm:enable $(find web/profiles/custom/os2loop/modules/ -type f -name 'os2loop_*_fixtures.info.yml' -exec basename -s .info.yml {} \;)
89+
docker-compose exec phpfpm vendor/bin/drush --yes pm:enable $(find web/profiles/custom/os2loop/modules/ -type f -name 'os2loop_*_fixtures.info.yml' -exec basename -s .info.yml {} \;)
10490
# Disable "Entity Reference Integrity Enforce" module to be able to delete (purge) content before loading fixtures.
105-
vendor/bin/drush --yes pm:uninstall entity_reference_integrity_enforce
91+
docker-compose exec phpfpm vendor/bin/drush --yes pm:uninstall entity_reference_integrity_enforce
10692
# Load the fixtures
107-
vendor/bin/drush --yes content-fixtures:load
93+
docker-compose exec phpfpm vendor/bin/drush --yes content-fixtures:load
10894
# Uninstall all fixtures modules
109-
vendor/bin/drush --yes pm:uninstall content_fixtures
95+
docker-compose exec phpfpm vendor/bin/drush --yes pm:uninstall content_fixtures
11096
# Enable "Entity Reference Integrity Enforce" module
111-
vendor/bin/drush --yes pm:enable entity_reference_integrity_enforce
97+
docker-compose exec phpfpm vendor/bin/drush --yes pm:enable entity_reference_integrity_enforce
11298
```
11399

114100
## Updates

web/profiles/custom/os2loop/themes/os2loop_theme/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Encore](https://symfony.com/doc/current/frontend/encore/installation.html#instal
1515
Build assets (JavaScript and CSS) by running
1616

1717
```sh
18-
docker run --volume ${PWD}:/app --workdir /app node:latest yarn install
19-
docker run --volume ${PWD}:/app --workdir /app node:latest yarn build
18+
docker run --volume ${PWD}:/app --workdir /app node:16 yarn install
19+
docker run --volume ${PWD}:/app --workdir /app node:16 yarn build
2020
```
2121

2222
Watch for changes:

0 commit comments

Comments
 (0)