This is the source code for the fedidevs.com website.
-
Install uv
-
Run the migrations
uv run python manage.py migrate
- Run the development server
uv run python manage.py runserver
- In a separate terminal set up tailwindcss...
uv run python manage.py tailwind install
- ... and start the tailwind server
uv run python manage.py tailwind start
- [optional] ... and start the background worker (only needed for syncing followers on login)
uv run python manage.py potatoq worker
- [optional] Populate the local database (takes about ~1hr)
uv run python manage.py shell -c "from accounts.tasks import hourly_job, daily_job; hourly_job(); daily_job()"
or run the crawler and indexer separately if you only want to populate account data (takes about ~5mins)
uv run python manage.py crawler
uv run python manage.py indexer
- [optional] Create a Django Admin user for
http://localhost:8000/admin
uv run python manage.py createsuperuser