Skip to content

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

Notifications You must be signed in to change notification settings

bycaldr/covid.gov.cz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 62.0%
  • TypeScript 20.3%
  • PHP 10.4%
  • Twig 4.1%
  • JavaScript 2.5%
  • Shell 0.7%