Skip to content

quad/moxie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moxie makes mixtapes!

Remember muxtape? Yeah, that was nice.

moxie is like that but for UNIX nerds.

Ok, that's cool. I'm not a programmer though...

No one's perfect. :-) We got you covered.

  1. Use pip!

    $ pip install moxie
    
  2. Make a directory full of MP3s!

    $ ls
    01 Act 1_ Eternal Sunshine (the pledge).mp3
    02-abdominal-breathe_later.mp3
    Blizzard - Village Theme (Diablo I).mp3
    cells-sincity.mp3
    Chromeo-Fancy.mp3
    prefuse73-megachoppedsuite.mp3
    Rihanna feat. Jay-Z - Umbrella (Instrumental).mp3
    

    Oh jeez, whose are those?

  3. Test it out...

    $ moxie-test
    http://127.0.0.1:8080/
    

    Almost perfect! Except, that text at the top could be improved.

  4. Make a README file:

    $ cat > README
    One Red Mixtape
    Made by [this guy](http://oneredpaperclip.blogspot.com/)!
    

    A title. And a subtitle!

    Did I mention you can use Markdown with the subtitle? I probably should have.

  5. Use local.css if you don't like red.

    $ cat > local.css
    div#header {
            color: white;
            background-color: black;
    }
    

    How post-ironic: a black and white mixtape entitled "One Red Mixtape."

  6. moxie-static to wrap that sucker up.

    $ moxie-static --verbose --url http://mixtape.quadhome.com/
    Using current directory...
    Wrote ./index.html
    Wrote ./index.rss
    Wrote ./index.xspf
    Wrote ./jquery-1.6.2.min.js
    Wrote ./moxie.js
    Wrote ./soundmanager2-nodebug-jsmin.js
    Wrote ./soundmanager2.swf
    Wrote ./style.css
    
  7. I donno. Put it on a web server someplace?

Hey, that was helpful. But I'm a hacker!

Oh ho! Well, just a couple recommendations:

  • git for git://github.com/quad/moxie.git
  • lame to make test data.
  • virtualenv. This is our Opinionated Requirement.

I'm hesitant to ask; but, you know to use apt/emerge/yum and friends. Right?

    $ git clone git://github.com/quad/moxie.git src

    $ virtualenv moxie

    $ . moxie/bin/activate

    (moxie)$ cd src/
    (moxie)$ ./setup.py develop
    (moxie)$ ./setup.py test

Terminal diarrhea throughout this.

    (moxie)$ moxie-test
    http://127.0.0.1:8080/

IT WORKS!

    (moxie)$ ls BUGS.md
    BUGS.md

Now get to work.

xoxo

-- la moxie comunidad hacker