You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Download this source code into a working directory, be sure to use the flag `--recurse-submodules` to clone also our submodules.
26
40
@@ -43,7 +57,7 @@ A RESTful API for Pokémon - [pokeapi.co](https://pokeapi.co)
43
57
make serve
44
58
```
45
59
46
-
### Database setup
60
+
## Database setup
47
61
48
62
To build or rebuild the database by applying any CSV file update, run
49
63
@@ -70,7 +84,7 @@ make migrate
70
84
71
85
Run `make help` to see all tasks.
72
86
73
-
## Docker and Compose [](https://hub.docker.com/r/pokeapi/pokeapi)
87
+
## Docker and Compose <a id="docker-and-compose"></a> [](https://hub.docker.com/r/pokeapi/pokeapi)
74
88
75
89
There is also a multi-container setup, managed by [Docker Compose V2](https://docs.docker.com/compose/). This setup allows you to deploy a production-like environment, with separate containers for each service, and is recommended if you need to simply spin up PokéAPI.
When you start PokéAPI with the above Docker Compose setup, an [Hasura Engine](https://github.com/hasura/graphql-engine) server is started as well. It's possible to track all the PokeAPI tables and foreign keys by simply
109
123
@@ -119,7 +133,7 @@ A free public GraphiQL console is browsable at the address https://beta.pokeapi.
119
133
120
134
A set of examples is provided in the directory [/graphql/examples](./graphql/examples) of this repository.
121
135
122
-
## Kubernetes [](https://github.com/PokeAPI/pokeapi/actions/workflows/docker-k8s.yml)
136
+
## Kubernetes <a id="kubernetes"></a> [](https://github.com/PokeAPI/pokeapi/actions/workflows/docker-k8s.yml)
123
137
124
138
[Kustomize](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/) files are provided in the folder https://github.com/PokeAPI/pokeapi/tree/master/Resources/k8s/kustomize/base/. Create and change your secrets:
0 commit comments