GithubHelp home page GithubHelp logo

vjirovsky / covid.gov.cz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cesko-digital/covid.gov.cz

0.0 1.0 0.0 2.85 MB

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

Shell 0.68% PHP 10.17% SCSS 61.26% Twig 4.07% JavaScript 2.48% TypeScript 21.34%

covid.gov.cz's Introduction

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

covid.gov.cz's People

Contributors

kkoudelka avatar marekvantuch avatar vasimi avatar bxxf avatar vitkolos avatar petrillek avatar vesely avatar fidelman avatar miromichalicka avatar siva01c avatar conentlounge avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.