Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An web-based mixtape maker.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .ditz
Octocat-spinner-32 MusicPlayer
Octocat-spinner-32 bugs
Octocat-spinner-32 moxie
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 LICENCE
Octocat-spinner-32 README.md
Octocat-spinner-32 SConstruct
Octocat-spinner-32 setup.py
README.md

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 setuptools!

    $ easy_install moxie
    

    Some people prefer pip. You might be one of those people.

    $ pip install moxie
    

    We swing both ways.

  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 is that?

  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
    Wrote index.html
    Wrote xspf
    Wrote MusicPlayer.swf
    Wrote style.css
    Wrote jquery-1.2.6.min.js
    Wrote moxie.js
    Wrote expressInstall.swf
    Wrote swfobject.js
    
  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:

  • Ditz, a fine issue tracker.
  • git for git://github.com/quad/moxie.git
  • lame to make test data.
  • MTASC so you can compile The Flash.
  • nose for all those unittests we forget to write.
  • SCons is better than make.
  • 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)$ scons
    (moxie)$ ./setup.py test

Terminal diarrhea throughout this.

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

IT WORKS!

    (moxie)$ ditz status
    unassigned  0/ 1 bugfix,    0/ 2 features,  0/ 0 tasks 

Now get to work.

xoxo

-- la moxie comunidad hacker

Something went wrong with that request. Please try again.