Skip to content

Commit 3077d92

Browse files
authored
Change default site URL and simplify demo content setup (#2413)
* Change default site URL and simplify demo content setup Updated the default site URL from 'http://islandora.traefik.me' to 'http://islandora.io' and replaced demo content setup instructions with a single command. * Change default dev domain to 'islandora.io' Updated the default development domain from 'islandora.traefik.me' to 'islandora.io' in the documentation.
1 parent 61dbf83 commit 3077d92

2 files changed

Lines changed: 4 additions & 29 deletions

File tree

docs/installation/docker/converting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The default dev environment uses `http` rather than `https`. Running `https` in
2626

2727
### Default domain
2828

29-
Using `http` also forced moving away from `islandora.dev`... HSTS rules in Google Chrome in particular do not allow accessing `*.dev` domains over http. So the default development domain is now `islandora.traefik.me`
29+
Using `http` also forced moving away from `islandora.dev`... HSTS rules in Google Chrome in particular do not allow accessing `*.dev` domains over http. So the default development domain is now `islandora.io`
3030

3131
### traefik labels to YML
3232

@@ -268,7 +268,7 @@ If you want to keep running TLS in your dev environment you can run this make he
268268
make traefik-https-mkcert
269269
```
270270

271-
Otherwise, be sure your `DOMAIN` value in `.env` is `islandora.traefik.me` and be aware your dev site is available at http://islandora.traefik.me
271+
Otherwise, be sure your `DOMAIN` value in `.env` is `islandora.io` and be aware your dev site is available at http://islandora.io
272272

273273
Now, bring up your services. In a development environment, after running `make up` your ISLE site should be available at `${URI_SCHEME}://${DOMAIN}` (the actual value will print after running make up depending on your settings).
274274

docs/installation/docker/site-template/setup.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `make up` command handles:
1818
- Building the custom Drupal Docker image
1919
- Starting all services with smart port allocation
2020

21-
By default, your site will be available at `http://islandora.traefik.me` (which resolves to 127.0.0.1).
21+
By default, your site will be available at `http://islandora.io` (which resolves to 127.0.0.1).
2222

2323
## Custom Drupal Image
2424

@@ -55,32 +55,7 @@ If you need more fine-grained control, you can create a `docker-compose.override
5555

5656
If you are spinning up a new site for testing, you can add some demo content to your site by running
5757
```
58-
[ -d "islandora_workbench" ] || (git clone https://github.com/mjordan/islandora_workbench)
59-
60-
[ -d "islandora_workbench/islandora_demo_objects" ] || git clone https://github.com/Islandora-Devops/islandora_demo_objects.git islandora_workbench/islandora_demo_objects
61-
62-
docker build \
63-
--build-arg USER_ID=$(id -u) \
64-
--build-arg GROUP_ID=$(id -g) \
65-
-t workbench-docker:latest \
66-
islandora_workbench
67-
68-
perl -i -pe 's#^host.*#host: "http://islandora.traefik.me"#g' islandora_workbench/islandora_demo_objects/create_islandora_objects.yml
69-
70-
perl -i -pe 's#^input_dir.*#input_dir: "islandora_demo_objects"#g' islandora_workbench/islandora_demo_objects/create_islandora_objects.yml
71-
72-
perl -i -pe 's#^input_csv.*#input_csv: "create_islandora_objects.csv"#g' islandora_workbench/islandora_demo_objects/create_islandora_objects.yml
73-
74-
grep secure_ssl_only islandora_workbench/islandora_demo_objects/create_islandora_objects.yml || echo 'secure_ssl_only: false' >> islandora_workbench/islandora_demo_objects/create_islandora_objects.yml
75-
76-
pushd islandora_workbench
77-
docker run -it --rm \
78-
--network="host" \
79-
-v .:/workbench \
80-
--name my-running-workbench \
81-
workbench-docker:latest \
82-
bash -lc "./workbench --config islandora_demo_objects/create_islandora_objects.yml"
83-
popd
58+
make demo-objects
8459
```
8560

8661
## Custom Themes & Modules

0 commit comments

Comments
 (0)