Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

A social network website for friends who share the passion of music

Notifications You must be signed in to change notification settings

AdrienLemaire/piano-maestoso

Repository files navigation

This website is intending to allow a small community of piano lovers to share
their music and give comments on it.



INSTALLATION:
~~~~~~~~~~~~~
 - install python 2.5.X
 - aptitude install libxml2-dev (needed for uwsgi when installed by pip)
 - install requirements : "pip install -r requirements/project.txt"
 - install django-invitation : "hg clone http://bitbucket.org/david/django-invitation",
    then from django-invitation/ , do "python setup.py install"

 - install PCRE : sudo aptitude install libpcre3 libpcre3-dev
 - download : nginx_upload_module, nginx-upload-progress-module, openssl
 - install nginx
./configure --add-module=./nginx_upload_module-2.0.12 --add-module=./masterzen-nginx-upload-progress-module-ac62a29 --with-http_ssl_module --with-openssl=../openssl-0.9.8o  --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_flv_module --with-http_dav_module --with-http_gzip_static_module --sbin-path=/usr/sbin/nginx --prefix=/usr
Then make && make install
 - configure your nginx (/etc/nginx/nginx.conf, /etc/nginx/sites-availables/piano-maestoso, etc)
 - install rabbitmq : sudo aptitude install rabbitmq-server
 - create the postgres user and db
 - add in the /etc/postgresql/8.4/main/pg_hba.conf the following line :
    local   your_db   your_user  md5
 - create the rabbitmq broker
 - add djcelery in your INSTALLED_APPS (local_settings.py)
 - create tmp/path.log file (used by django_wsgi.py)
 - cd /tmp && mkdir 1 2 3 4 5 6 7 8 9 0 (used by nginx upload module)
 - install ffmpeg :
    git clone git://git.videolan.org/x264.git (can't install with aptitude, as libx264 version must be >= 0.98)
    cd x264; ./configure && make && sudo make install; cd ..
    aptitude install libvpx-dev libtheora-dev libvorbis-dev libfaac-dev yasm
    git clone git://git.ffmpeg.org/ffmpeg/
    cd ffmpeg
    git clone git://git.ffmpeg.org/libswscale/
    ./configure --enable-libfaac --enable-gpl --enable-libvpx --enable-libtheora --enable-libx264 --enable-libvorbis --enable-nonfree
    make && sudo make install
 - install mencoder (for rotation) : sudo aptitude install mencoder
 - override FFMPEG_PATH, FFMPEG2THEORA_PATH and MENCODER_PATH in local_settings.py (eg. "/usr/local/bin/ffmpeg", "/usr/bin/ffmpeg2theora" and "/usr/bin/mencoder")

 TREE :
 ~~~~~~


.
|-- apps
|   |-- about
|   `-- friends_app
|-- cron
|-- deploy
|-- django-invitation
|   |-- build
|   |   |-- bdist.macosx-10.6-x86_64
|   |   `-- lib
|   |       |-- examples
|   |       `-- invitation
|   |-- dist
|   |-- django_invitation.egg-info
|   |-- docs
|   |-- examples
|   |   `-- invitation_project
|   |       `-- templates
|   `-- invitation
|       |-- locale
|       |   `-- de
|       |-- management
|       |   `-- commands
|       `-- templates
|           `-- invitation
|-- fixtures
|-- locale
|   |-- en
|   |   `-- LC_MESSAGES
|   `-- fr
|       `-- LC_MESSAGES
|-- media
|   |-- css
|   |-- js
|   `-- pinax
|       |-- css
|       `-- img
|-- pianostore
|   |-- locale
|   |   `-- fr
|   |       `-- LC_MESSAGES
|   |-- management
|   |   `-- commands
|   |-- media
|   |   `-- pianostore
|   |       |-- css
|   |       `-- uploads
|   `-- templates
|       `-- pianostore
|-- requirements
|-- site_media
|   |-- media
|   |   |-- photologue
|   |   |   `-- photos
|   |   `-- pianostore
|   |       |-- mp4
|   |       |-- ogv
|   |       |-- uploads
|   |       `-- webm
|   `-- static
|       |-- admin
|       |   |-- css
|       |   |-- img
|       |   `-- js
|       |-- ajax_validation
|       |   `-- js
|       |-- bookmarks
|       |   |-- css
|       |   `-- img
|       |-- css
|       |-- debug_toolbar
|       |   |-- css
|       |   |-- img
|       |   `-- js
|       |-- frontendadmin
|       |   `-- css
|       |-- images
|       |-- js
|       |-- locations
|       |-- pianostore
|       |   `-- css
|       |-- pinax
|       |   |-- css
|       |   |-- img
|       |   `-- js
|       |-- tagging_ext
|       |-- tasks
|       |   |-- css
|       |   `-- js
|       |-- tribes
|       |   `-- css
|       `-- uni_form
|-- templates
|   |-- about
|   |-- account
|   |-- admin
|   |-- friends_app
|   |-- notification
|   |-- photos
|   |-- profiles
|   `-- tags
`-- tests

101 directories

About

A social network website for friends who share the passion of music

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published