This is the source code for the fedidevs.com website.
- Install Python 3.12
- Create a venv environment
python -m venv .venv
- Activate the virtual env
. .venv/bin/activate
- Install required packages
python -m pip install -r requirements.txt
- Run the migrations
python manage.py migrate
- Run the development server
python manage.py runserver
- In a separate terminal set up tailwindcss...
python manage.py tailwind install
- ... and start the tailwind server
python manage.py tailwind start
- ... and start the background worker (only needed for syncing followers on login)
python manage.py rundramatiq --reload
- Populate the local database (takes about ~1hr)
python manage.py scheduler --run-now
or run the crawler and indexer separately if you only want to populate account data (takes about ~5mins)
python manage.py crawler
python manage.py indexer
- Create a Django Admin user for
http://localhost:8000/admin
python manage.py createsuperuser