diff --git a/README.md b/README.md index e029a0e1..93504b07 100644 --- a/README.md +++ b/README.md @@ -72,3 +72,7 @@ For convenience, `heroku.yml` and `heroku.dockerfile` can be used to deploy the - `heroku.dockerfile` is used to build the frontend and backend into a single image. Frontend static assets are served via Django and Whitenoise at the application root (`/`). See [Building docker images with heroku.yml](https://devcenter.heroku.com/articles/build-docker-images-heroku-yml) for more information. Customize `app.json` and `herok.yml` as-needed for projects derived from this repo. + +## Nav + +- Set `VUE_APP_ABOUT_URL` and `VUE_APP_ABOUT_TEXT` to add a link to an about page diff --git a/frontend/src/App.vue b/frontend/src/App.vue index cc5721b3..30d310c3 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,9 +1,20 @@ + + diff --git a/heroku.dockerfile b/heroku.dockerfile index 85534ca8..b68f3a71 100644 --- a/heroku.dockerfile +++ b/heroku.dockerfile @@ -10,6 +10,7 @@ COPY ./frontend/package.json ./frontend/yarn.lock ./ RUN yarn install COPY ./frontend . +ENV VUE_APP_ABOUT_URL="https://pdldatajournal.pubpub.org/pub/el65xygp" RUN yarn build # # # # # # # # # # # # # # # # # # # # # # # #