Follow the step-by-step instructions on Real Python to build your own flashcards app with Django.
You can run the provided example project on your local machine by following the steps outlined below.
Create a new virtual environment:
$ python3 -m venv venvActivate the virtual environment:
$ source venv/bin/activateNavigate to the folder for the step you're currently on.
Install the dependencies for this project if you haven't installed them yet:
(venv) $ python -m pip install -r requirements.txtMake and apply the migrations for the project to build your local database:
(venv) $ python manage.py makemigrations (venv) $ python manage.py migrateRun the Django development server:
(venv) $ python manage.py runserverNavigate to http://localhost:8000/ to see your flashcards app in action.