Giter Site home page Giter Site logo

django-movie-theater's Introduction

Django Movie Theater

Pusher

create a new pusher app and update settings.py accordingly:

PUSHER_APP_ID = ""
PUSHER_KEY = ""
PUSHER_SECRET = ""
PUSHER_CLUSTER = ""

Facebook

create a facebook app and update seettings.py accordingly:

SOCIAL_AUTH_FACEBOOK_KEY = ''
SOCIAL_AUTH_FACEBOOK_SECRET = ''

Dev Environment

Run the server with:

docker-compose up -d db
docker-compose up -d web

Run the migrations:

docker-compose exec web python manage.py migrate

Provision the database:

docker-compose exec db /usr/lib/postgresql/9.6/bin/psql -Upostgres -f /code/storage/provisions/repertoires.sql
docker-compose exec db /usr/lib/postgresql/9.6/bin/psql -Upostgres -f /code/storage/provisions/rooms.sql

Create superuser for admin panel:

docker-compose exec web python manage.py createsuperuser

start the worker

docker-compose exec web
export C_FORCE_ROOT='true'
python manage.py celeryd --beat

Navigate to:

  1. http://localhost:8000/
  2. http://localhost:8000/admin

Libraries used

env

  1. docker
  2. docker postgres
  3. docker python 2.7

python

  1. Django
  2. psycopg2
  3. social-auth-app-django
  4. pusher
  5. django-celery
  6. django-request

frontend

  1. bootstrap
  2. jquery

uses third party

  1. facebook
  2. pusher

django-movie-theater's People

Watchers

 avatar  avatar

Forkers

biletnam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.