Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Latest commit

 

History

History
73 lines (39 loc) · 2.22 KB

README.md

File metadata and controls

73 lines (39 loc) · 2.22 KB

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