Skip to content

codehutlabs/django_sqs

Repository files navigation

Django + Amazon Simple Queue Service

This codebase was created to demonstrate a fully fledged fullstack application built with Django including some CRUD operations, authentication, routing, sending messages to AWS SQS, processing AWS SQS queues, generating a PDF and sending email using Postmarkapp service.

How it works

Starting the Django server will bring up the Order a Pizza site.

Getting started

You need to have virtualenv and Python 3.7 installed on your machine. Now run:

$ make
$ make collectstatic
$ make migrate
$ make load
$ make run

Or the traditional way:

$ virtualenv -p python3.7 venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
(venv) $ pre-commit install -f --hook-type pre-commit
(venv) $ pre-commit install -f --hook-type pre-push
(venv) $ mkdir djangosqs_backup
(venv) $ mkdir djangosqs_media
(venv) $ mkdir djangosqs_static
(venv) $ mkdir djangosqs_media/receipt
(venv) $ mkdir djangosqs_media/uploads
(venv) $ cp djangosqs/local_settings.txt djangosqs/local_settings.py
(venv) $ rsync -rupE djangosqs/static/images/ djangosqs_media/uploads/
(venv) $ python manage.py collectstatic --noinput
(venv) $ python manage.py migrate
(venv) $ python manage.py loaddata orderapizza.json
(venv) $ python manage.py runserver

Now point your browser to:

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •