A quiz app to improve knowledge on Literature and Cinema
Live preview : https://quizbiblio.herokuapp.com/
Made with Django, MySQL & TailwindCSS.
Npm & MySQL are required.
Run the following commands (for windows) :
$ git clone https://github.com/FabienH27/quizBiblio.git
$ cd quizBiblio
$ python -m venv venv
$ . .\venv\Scripts\activate
$ pip install -r requirements.txt
$ cd quizBiblio
- Rename file
.env.example
to.env
- Generate a new key :
python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
- Copy this new key to the SECRET_KEY var in the
.env
file. - Add your database credentials to this file.
$ python manage.py migrate
$ python manage.py runserver
If on VsCode, TailwindCSS IntelliSense doesn't work, install it with npm : npm install -D tailwindcss@latest postcss@latest autoprefixer@latest