Skip to content
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

Locally hosted version #564

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,34 @@ FROM node:13-slim

WORKDIR /usr/app

ENV NODE_ENV production

COPY ./package.json ./yarn.lock ./


COPY ./webpack.config.ts ./tsconfig.json ./
COPY ./server/ ./server
COPY ./common/ ./common

COPY ./build.ts ./build.ts
COPY ./static ./static
COPY ./frontend ./frontend
COPY ./country-data ./country-data
COPY ./datasets ./datasets

RUN yarn install
RUN yarn run build


FROM node:13-slim

WORKDIR /usr/app
COPY --from=0 /usr/app/dist ./dist
ENV NODE_ENV production
COPY ./package.json ./yarn.lock ./
RUN yarn install

COPY ./webpack.config.ts ./tsconfig.json ./
COPY ./server/ ./server
COPY ./common/ ./common

ENTRYPOINT yarn run serve
ENTRYPOINT yarn run serve
9 changes: 9 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# COVID-19 visualizer

## WARNING: This repository is now in an inconsistent state
As the site is no longer maintained, we decided to host it on much cheaper server (instead of GCP). For that reasons, we downloaded only the latest version of the relevant data files and serve them locally.

The app is no longer hosted at GCP. The "channel" functionality doesn't work at all now. The readme below is outdated (see the commit history).

Contact Daniel Hnyk (@hnykda) or Tomáš Gavenčiak for more information.

---

Frontend for http://epidemicforecasting.org/

![Screenshot of local app](./covid_local_app.png)
Expand Down
6 changes: 0 additions & 6 deletions web/common/constants.ts

This file was deleted.

Loading