What is Dwitter?

Dwitter ( Django + Twitter ) is demo app like Twitter.

sponsored link

Screen Image

Why I made Dwitter?

Well, I'm beginning to learn Django Web Framework. So I decided to make something instead of just reading document.

Features

  • Follow/Unfollow
  • Upload Profile Image
  • Show timeline

Code

You can view this code at Github.

Try Demo.

To Try it out,You need to Login or Register

Setup

    pyvenv-3.4 venv
    source venv/bin/activate
    cd django-trunk; python setup.py install
    pip install -r requirements.txt
    python twitter_project/manage.py runserver
    

DB

    python manage.py makemigrations
    python manage.py migrate
    

Deploy it (Gunicorn + Nginx)

  • Python3.4
  • Django1.7
  • Gunicorn
  • Nginx
Setting of nginx file is like this.

 server {
     listen 80;
     server_name  your_server_name;

     location /static {
     root /path/to/twitter/twitter_project/twitter_project;
     }

     location / {
     proxy_pass http://127.0.0.1:8001;
     }

 }
And type it to run server.
 gunicorn twitter_project.wsgi:application -c gunicorn.conf.py

Questions?

If you have any questions? Please contact @furodrive.

Sponsored link

©2014