-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CMS content fixture, tweak Wagtail Makefile, settings, and styles for review apps / staging #1200
Conversation
Update review app default settings, richtext image CSS
.richtext-image { | ||
max-width: 100%; | ||
height: auto; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't let embedded images be enormous!
docker compose run --rm -e DATABASE_URL=${DATABASE_URL} python manage.py refresh_guid | ||
docker compose run --rm -e DATABASE_URL=${DATABASE_URL} python manage.py update_index |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Classify tags and update the search index.
@@ -14,7 +14,7 @@ | |||
DJANGO_ALLOWED_HOSTS=(list, ["localhost", "127.0.0.1", "0.0.0.0"]), | |||
COUNCILMATIC_SUPPRESS_LIVE_MEDIA=(list, []), | |||
DATABASE_URL=(str, "postgis://postgres:postgres@postgres:5432/lametro"), | |||
SEARCH_URL=(str, "http://elasticsearch:9200"), | |||
SEARCH_URL=(str, os.getenv("SEARCHBOX_URL", "http://elasticsearch:9200")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the environment contains a SearchBox URL, use it!
@@ -109,7 +109,7 @@ | |||
"value": "True" | |||
}, | |||
"DJANGO_ALLOWED_HOSTS": { | |||
"value": ".herokuapp.com" | |||
"value": ".herokuapp.com,localhost" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support for Wagtail page previews.
Followed my own testing instructions! |
Overview
See title.
Connects #1194
Testing Instructions