logo

Need Custom Apps?

Whether you need custom software development, Consulting or your project needs rescuing we are here to help. Get in touch
info@siege.ai
+27 11 794 3787

Blog

Ever been annoyed by the multitude of AWS S3 logs you see inside a celery task on file operations? If the answer is yes then the solution is simple add the following lines before your LOGGING settings in your Django settings file   import logging logging.getLogger('boto').propagate = False...

Read More

This is a quick guide to how you deploy a single page web application to S3 behind cloudfront get your CloudFront distribution id aws cloudfront list-distributions Invalidate all files in the distribution, so CloudFront fetches fresh ones aws cloudfront create-invalidation --distribution-id=S11A16G5KZMEQD --paths / The actual full release script is #!/usr/bin/env bash BUCKET=mysite.com SOURCE_DIR=dist/ export AWS_ACCESS_KEY_ID=xxxxxxxxxxx export AWS_SECRET_ACCESS_KEY=xxxxxxxxx export AWS_DEFAULT_REGION=eu-west-1 echo "Building production" if npm run build:prod ; then echo "Build Successful" else echo "exiting.." ...

Read More

ERROR with rpm_check_debug vs depsolve: yum-plugin-fastestmirror is needed by yum     If you get an error like the following one: ERROR with rpm_check_debug vs depsolve: yum-plugin-fastestmirror is needed by yum-3.2.29-60.el6.centos.noarch ** Found 1 pre-existing rpmdb problem(s), ‘yum check’ output follows: yum-3.2.29-40.el6.centos.noarch has missing requires of yum-plugin-fastestmirror Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2015-06-19-01-55B6BTlV.yumtx Just type: yum install yum-plugin-fastestmirror and you'er done!...

Read More