| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This web app models the basic functionality of Twitter.
You can:
Follow the step-by-step instructions on Real Python to build your own version of Dwitter.
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 migrateCreate a superuser that allows you to log in to your Django admin portal:
(venv) $ python manage.py createsuperuserRun the Django development server:
(venv) $ python manage.py runserverNavigate to http://localhost:8000/admin and log in with your superuser credentials. You can create users through the Django admin and explore your social media platform with multiple users.
| Back | FazBrowse Home | New Git URL |