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
39
@@ -43,7 +56,7 @@ A RESTful API for Pokémon - [pokeapi.co](https://pokeapi.co)
43
56
make serve
44
57
```
45
58
46
-
### Database setup
59
+
## Database setup
47
60
48
61
To build or rebuild the database by applying any CSV file update, run
49
62
@@ -70,7 +83,7 @@ make migrate
70
83
71
84
Run `make help` to see all tasks.
72
85
73
-
## Docker and Compose [](https://hub.docker.com/r/pokeapi/pokeapi)
86
+
## Docker and Compose <a id="docker-and-compose"></a> [](https://hub.docker.com/r/pokeapi/pokeapi)
74
87
75
88
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
122
@@ -119,7 +132,7 @@ A free public GraphiQL console is browsable at the address https://beta.pokeapi.
119
132
120
133
A set of examples is provided in the directory [/graphql/examples](./graphql/examples) of this repository.
121
134
122
-
## Kubernetes [](https://github.com/PokeAPI/pokeapi/actions/workflows/docker-k8s.yml)
135
+
## Kubernetes <a id="kubernetes"></a> [](https://github.com/PokeAPI/pokeapi/actions/workflows/docker-k8s.yml)
123
136
124
137
[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:
125
138
@@ -223,7 +236,3 @@ To contribute to this repository:
223
236
- We'll accept your changes after review.
224
237
225
238
Simple!
226
-
227
-
## Deprecation
228
-
229
-
As of October 2018, the v1 API has been removed from PokéAPI. For more information, see [pokeapi.co/docs/v1.html](https://pokeapi.co/docs/v1.html).
0 commit comments