versions and libraries: requirements.txt
to start django: python manage.py runserver
PostGreDB database: investsmart user:postgres password:0
Redis:
https://redis.io/docs/getting-started/installation/
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
sudo apt-get update
sudo apt-get install redis
to run: redis-server
Celery:
Windows:
python -m celery -A investsmart worker -l info -P gevent
python -m celery -A investsmart beat --loglevel=info
Clear Task Queue:
python -m celery -A investsmart purge
Linux:
pkill -f "celery worker"
celery -A investsmart worker -l info --logfile=celery.log
celery -A investsmart beat -l info --logfile=celery.beat.log