shaief / IFX

Israeli film archive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎥 IFX 🎥

Israeli film archive

Development Setup Instructions

Requirements

Setup

  • Clone this repo.

  • Add an IFX/ifx/local_settings.py file with:

      DEBUG = True
      SECRET_KEY = "kukuriku"
    
      CELERY_TASK_ALWAYS_EAGER = True
    
  • Install dependencies with pipenv:

      pipenv install
    

    And start it:

      pipenv shell
    
  • Assuming your user can create DBs:

      python manage.py sqlcreate | psql
    
  • Create tables:

      python manage.py migrate
    
  • Import data from dump (not published yet on github):

      python manage.py loaddata all_data.json
    
  • Run your server:

      python manage.py runserver
    
  • Enjoy:

      http://localhost:8000/
    

Tips

  • Linux/Mac: add to your .bashrc or .bash_profile:

      alias m='python manage.py'
      alias sp='python manage.py shell_plus'
    

About

Israeli film archive


Languages

Language:Python 64.1%Language:HTML 23.2%Language:CSS 9.7%Language:JavaScript 2.5%Language:Batchfile 0.3%Language:Shell 0.2%