Merge pull request #871 from PokeAPI/small-fixes

This commit is contained in:
Alessandro Pezzè 2023-04-27 13:35:36 +02:00 committed by GitHub
commit 5816a93002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 14 deletions

4
.gitignore vendored
View file

@ -4,10 +4,10 @@
*build/*
*.DS_STORE
db.*
venv*
*venv*
node_modules
.vscode
*.env
Resources/nginx/ssl/*
!Resources/nginx/ssl/*.sample.*
.idea*
.idea*

View file

@ -1,4 +1,4 @@
Copyright (c) © 20132021 Paul Hallett and PokéAPI contributors (https://github.com/PokeAPI/pokeapi#contributing). Pokémon and Pokémon character names are trademarks of Nintendo.
Copyright (c) © 20132023 Paul Hallett and PokéAPI contributors (https://github.com/PokeAPI/pokeapi#contributing). Pokémon and Pokémon character names are trademarks of Nintendo.
All rights reserved.

View file

@ -45,17 +45,8 @@ A RESTful API for Pokémon - [pokeapi.co](https://pokeapi.co)
### Database setup
Start the Django shell by
```sh
python manage.py shell --settings=config.local
```
Run the build script with
```py
from data.v2.build import build_all
build_all()
make build-db
```
Visit [localhost:80/api/v2/](localhost:80/api/v2/) to see the running API!
@ -156,7 +147,7 @@ This k8s setup creates all k8s resources inside the _Namespace_ `pokeapi`, run `
## Donations
Help to keep PokéAPI running! If you're using PokéAPI as a teaching resource or for a project, consider sending us a $10 donation to help keep the service up. We get 60 million requests a month!
Help to keep PokéAPI running! If you're using PokéAPI as a teaching resource or for a project, consider sending us a $10 donation to help keep the service up. We get 330 million requests a month!
Thank you to all our backers! [Become a backer](https://opencollective.com/pokeapi#backer)