cesko-digital / 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://cesko.digital/projekty/covid-portal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COVID Portal 🦠 🖥 🇨🇿

⚠️ Development has moved to a public code.gov.cz repository. This is no longer updated. ⚠️

Links

Contribute

  1. after receiving slack link, join us in the respective channel:

#p-informacni-web-ceska #p-informacni-web-frontend #p-informacni-web-drupal

  1. introduce yourself + just fork this project or just ask for GitHub privileges in our Slack

  2. choose your starter task from our Trello

  3. create a branch and PR for the task we usually tend to use a descriptive PR title e.g.: gatsby/feat: task title or drupal/fix: task title, i guess you get the point

  4. after PR creation:

  • we will receive a notification in our slack channel to do the review
  • your branch will be deployed to a feature branch on Vercel (comment by Vercel bot)
  • check your changes in the prod build on Vercel
  1. after the review and approval ✅, we will merge the PR and it will be eventually deployed to production

Getting started

Frontend - Gatsby

If you only want to run frontend part of this app, you dont have to install Docker and the backend part. It works standalone as well - see the frontend for more details

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, database connection is already injected in settings.php file

  • docker-compose exec drupal drush si --existing-config -y

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

COVID_PORT_NGINX variable in your env file

About

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

https://cesko.digital/projekty/covid-portal

License:MIT License


Languages

Language:PHP 30.6%Language:TypeScript 27.0%Language:JavaScript 19.1%Language:SCSS 18.5%Language:CSS 2.8%Language:Twig 2.1%