Skip to content

anze3db/fedidevs

Repository files navigation

Fedidevs

This is the source code for the fedidevs.com website.

Set up dev environment

  1. Install Python 3.12
  2. Create a venv environment
python -m venv .venv
  1. Activate the virtual env
. .venv/bin/activate
  1. Install required packages
python -m pip install -r requirements.txt
  1. Run the migrations
python manage.py migrate
  1. Run the development server
python manage.py runserver
  1. In a separate terminal set up tailwindcss...
python manage.py tailwind install
  1. ... and start the tailwind server
python manage.py tailwind start
  1. ... and start the background worker (only needed for syncing followers on login)
python manage.py rundramatiq --reload
  1. 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
  1. Create a Django Admin user for http://localhost:8000/admin
python manage.py createsuperuser

About

Discover amazing developers across the fediverse 🌐

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published