Codal is a django website to dealing with codal.ir Letters
First make sure you have docker installed in your os.
To run application just run below command
docker-compose up -dTo prepare database to use:
docker exec -it web python manage.py makemigrations
docker exec -it web python manage.py migrateTo create a user and use codal administration
docker exec -it web python manage.py createsuperuserThen Enjoy Codal Administration In localhost
To Run Celery Workers
celery -A codal worker -l info -P soloTo Run Celery Beat
celery -A codal beat -l infoTo clear all pending celery tasks
celery -A codal purgedocker exec -it redis redis-cli pingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.