Skip to content

A personal project to learn Python & Django using Tailwind CSS for design

Notifications You must be signed in to change notification settings

FabienH27/pokeproject-Django

Repository files navigation

PokeProject

Python

A personal project to learn Python & Django.

Configuration

  • In the pokeproject folder : copy .env.example file to .env
  • Change your settings inside the .env file to match your MySQL Database configuration
  • Generate a new secret key from the cmd with : python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
  • Paste this key to the .env file as follows : SECRET_KEY=your_key

Load pokemons

  • Create a database named after what you wrote in the .env file, it could be pokebase
  • Run the command : py pokemons\getPokemons.py

It could take a few minutes to load all pokemons

Start Django Server

Useful commands

docker build -t pokeproject .
docker run -d -p 8080:8080 --name pokeproject pokeproject

Author

Fabien Hannon

License

Licensed under the GPL License

About

A personal project to learn Python & Django using Tailwind CSS for design

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published