Adelle's website.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Adelle's website

A combination of plain html tests and a WordPress instalation.

Insstructions Video Conversion In MacOS

Install Homebrew

Make sure you install all requirements, and follow the instructions below (This can take a while, espcially because of XCode):

Install homebrew to install packages for video conversion.

ruby -e "$(curl -fsSL"

Install FFMPEG

Make sure brew is installed correclty and working correctly:

brew doctor

Install ffmpeg to convert videos to mp4 and webm and generate thumbnails. This may go smoothly or it may not (you've been warned!):

brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-openjpeg --with-theora --with-tools --with-libvpx

To make sure this is working, try:

ffmpeg -v


Install ffmpeg2theora in order to convert mp4s to ogv for Firefox.

brew install ffmpeg2theora

Converting Videos

Put all the videos you want to convert in:


Run the following script (you shouldn't need to install any Python libraries):

python converted-videos/

When done, move all videos in un-converted to covnerted.

Deploying Site on MacOS

In order to deploy code, restart the server or restart mysql you need Fabric.

To install Fabric, first install PIP.

sudo easy_install pip

You can also install PIP through Homebrew's python instalation.

brew install python

Then install Fabric.

pip install fabric

To actually deploy the site, make sure you have a copy of the repo and that you're in it:

git clone

Then go to that directory and run the fabric command:

cd ./Adelle
fab deploy:environment=NAME_OF_YOUR_ENVIRONMENT

For this a file is need that has the following structure:

class AttrDict(dict):
    def __init__(self, *args, **kwargs):
        super(AttrDict, self).__init__(*args, **kwargs)
        self.__dict__ = self

servers = {
    # Statging
        'host_string' : 'IP_ADDRESS',
        'user': 'USER',
        'password' : 'PASSWORD',
        'main_path' : '/var/www/NAME_OF_YOUR_SITE/public_html/',
        'theme_path' : '/var/www/NAME_OF_YOUR_SITE/public_html/content/themes/adelle-theme/'