-
-
Notifications
You must be signed in to change notification settings - Fork 0
add Report block, improve news page and update socials #86
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
Changes from all commits
ee9f2b1
109c1c0
dad1b17
3767e02
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| set -e | ||
|
|
||
| pipenv install | ||
| python -m pipenv install | ||
| yarn | ||
|
|
||
| if [ "$SKIP_MIGRATE" != "1" ]; then | ||
| pipenv run python manage.py migrate | ||
| pipenv run python manage.py preseed_transfer_table auth wagtailcore wagtailimages.image wagtaildocs search stopwatch stopwatch | ||
| pipenv run python manage.py createsuperuser | ||
| python -m pipenv run python manage.py migrate | ||
| python -m pipenv run python manage.py preseed_transfer_table auth wagtailcore wagtailimages.image wagtaildocs search stopwatch stopwatch | ||
| python -m pipenv run python manage.py createsuperuser | ||
| touch stopwatch/settings/local.py | ||
| fi | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,8 +14,12 @@ ARG INSTALL_NODE="true" | |||||||||
| ARG NODE_VERSION="lts/*" | ||||||||||
| RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi | ||||||||||
|
|
||||||||||
| # Install system dependencies | ||||||||||
| # Install system dependencies | ||||||||||
| RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list | ||||||||||
| RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmour -o /usr/share/keyrings/yarn-keyring.gpg \ | ||||||||||
| && sed -i '1s;^deb;deb [signed-by=/usr/share/keyrings/yarn-keyring.gpg];' /etc/apt/sources.list.d/yarn.list | ||||||||||
|
|
||||||||||
| # ensure GDAL is available for Django | ||||||||||
| RUN apt update && apt install -y --no-install-recommends gdal-bin libgdal-dev | ||||||||||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. deals with a problem I was consistently running up against when building the devcontainer
|
||||||||||
| RUN apt update && apt install -y --no-install-recommends gdal-bin libgdal-dev | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get update \ | |
| && apt-get install -y --no-install-recommends gdal-bin libgdal-dev \ | |
| && rm -rf /var/lib/apt/lists/* |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,5 +34,6 @@ | |
| "react-window": "^1.8.6", | ||
| "react-window-infinite-loader": "^1.0.7", | ||
| "sass": "^1.69.5" | ||
| } | ||
| }, | ||
| "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just pins yarn - was automatically added when I ran |
||
| } | ||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| {% load wagtailimages_tags %} | ||
|
|
||
| <section class="bg-light"> | ||
| <div class="d-flex flex-column flex-md-row gap-3"> | ||
| {% if value.cover_image %} | ||
| <div class="order-1 order-md-2 flex-shrink-0"> | ||
| {% image value.cover_image width-200 class="img-fluid" %} | ||
| </div> | ||
| {% endif %} | ||
| <div class="order-2 order-md-1 flex-grow-1"> | ||
| {% if value.year %} | ||
| <p class="microcopy text-primary mb-2"><strong>{{ value.year }}</strong></p> | ||
| {% endif %} | ||
| <h2 class="heading-large mb-3">{{ value.title }}</h2> | ||
| {% if value.description %} | ||
| <p class="mb-3">{{ value.description }}</p> | ||
| {% endif %} | ||
| <a href="{{ value.document.url }}" download class="btn btn-outline-danger" aria-label="Download {{ value.document.file_extension|upper }}: {{ value.title }}"> | ||
| Download {{ value.document.file_extension|upper }} | ||
| </a> | ||
| </div> | ||
| </div> | ||
| </section> |
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.
use the
pipenvbelonging to the python 3.8 install, rather than a detached version inpy-utils