levlaz / fedidevs

Discover amazing developers across the fediverse 🌐

Home Page:https://fedidevs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 🌐

https://fedidevs.com

License:MIT License


Languages

Language:Python 61.7%Language:HTML 35.7%Language:JavaScript 1.8%Language:CSS 0.7%Language:Dockerfile 0.1%