Official repository of SociaLinker, an AI-powered social networks scraper and leads generation tool.
Apply migrations:
python manage.py migrate --noinputDevelopment
python manage.py runserver 0.0.0.0:8000Production: gunicorn (Linux only)
python manage.py collectstatic --noinput
gunicorn socialinker.wsgi:application --bind 0.0.0.0:8000Production: daphne
python manage.py collectstatic --noinput
daphne -b 0.0.0.0 -p 8000 socialinker.asgi:applicationRedis:
Redis is necessary for real-time notifications and background tasks.
There are 2 methods to run Redis:
Method 1: Using WSL2
- Install WSL2
- Install Ubuntu for Windows from Windows Store
- Launch Ubuntu for Windows and type the following:
redis-serverMethod 2: Using Docker
docker run --name redis -d -p 6379:6379 redisRabbitMQ (Optional):
RabbitMQ can be used as an alternative for Redis to run background tasks.
Using Docker:
docker run -d -p 5672:5672 --name rabbitmq rabbitmqCelery:
set DJANGO_SETTINGS_MODULE=socialinker.settings
celery -A socialapp worker --loglevel=INFO --without-gossip -P threadsCelery beat:
set DJANGO_SETTINGS_MODULE=socialinker.settings
celery -A socialapp beat --loglevel=INFO -S redbeat.RedBeatSchedulerCelery flower:
celery --broker=redis://localhost:6379/1 flower ### Redis (default)
celery --broker=amqp://guest:guest@localhost:5672// flower ### RabbitMQThen navigate to localhost:5555 to monitor tasks
Coming soon
Coming soon