Skip to content
/ rznij Public

Simple Django and socket.io based URL shortener website

Notifications You must be signed in to change notification settings

jstasiak/rznij

Repository files navigation

Requirements

  • Make sure Python2.7 with setuptools is installed

Introduction

Setup environment

System wide (as root):

easy_install pip
pip install virtualenv

Project specific (as ordinary user):

mkdir rznij_ve
cd rznij_ve
mkdir ve
virtualenv ve
source ve/bin/activate
git clone git://github.com/jstasiak/rznij.git
cd rznij
pip install -r pip_requirements.txt

Configuration

  1. Fill local_settings.py (template in local_settings.py.template), set SERVER_ADDRESS as needed
  2. Do manage.py collectstatic and manage.py syncdb

Running

python manage.py rungevent 0:8000

This will run server which will be listening on all your network interfaces on port 8000.

Notes

  • Application has to be run by manage.py rungevent because of gevent monkey patching and running gevent-socketio server instead of Django development server
  • Currently website is in Polish, translation in progress ;)
  • shared static files are in static_common directory, all static files have to be collected by manage.py collectstatic command
  • development version (hg/develop branch) of gevent-socketio (https://github.com/jstasiak/gevent-socketio) is required, pip_requirements.txt should take care of this

Author

Jakub Stasiak <kuba.stasiak at gmail.com>

About

Simple Django and socket.io based URL shortener website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published