README.md 963 Bytes
Newer Older
1
2
3
4
# COVID Portal 🦠 🖥 🇨🇿

## Links

5
- 🖥  **production version**: [covid.gov.cz](https://covid.gov.cz/)
6

7
## Getting started
8

9
### Frontend (Gatsby)
10
11
12

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

13
- 🚀 [see how to get up and running with the frontend](/gatsby/README.md#gatsby) ➡️
14
  
15
### Backend (Drupal)
16
17
18

We're using docker containers from `docker` folder:

19
- `cd docker`
20
21
22

Copy and modify env file as needed

23
- `cp .env.example .env`
24
25
26

Start containers

27
- `docker-compose up -d`
28
29
30

Install dependencies

31
- `docker-compose exec drupal composer install`
32
33
34
35
36
37
38

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

39
`COVID_PORT_NGINX` variable in your `env` file