MartinNuc / covid.gov.cz

Jednoduchý a srozumitelný web pro různé životní události nás všech v průběhu pandemie koronaviru.

Home Page:https://wiki.cesko.digital/x/PhEY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COVID Portal

Links

Getting started

Backend - Drupal

We're using docker containers from docker folder:

  • cd docker

Copy and modify env file as needed

  • cp .env.example .env

Start containers

  • docker-compose up -d

Install dependencies

  • docker-compose exec drupal composer install

Install Drupal with existing config

  • docker-compose exec drupal drush si --db-url=mysql://root:password@mysql:3306/covid --existing-config -y

Access site on http://localhost:1577 if you didn't change

COVID_PORT_NGINX variable in your env file


Frontend - GatsbyJS

Environment Variables

Create a .env.development file from .env.development.example in gatsby directory

Starting a dev server

Navigate to project directory

  • cd gatsby

Install Gatsby CLI

  • yarn global add gatsby-cli

Install dependencies

  • yarn install

Run dev server

  • yarn dev

About

Jednoduchý a srozumitelný web pro různé životní události nás všech v průběhu pandemie koronaviru.

https://wiki.cesko.digital/x/PhEY


Languages

Language:PHP 40.7%Language:JavaScript 21.9%Language:SCSS 21.1%Language:TypeScript 12.0%Language:CSS 2.7%Language:Twig 1.4%Language:Shell 0.2%