Remember muxtape? Yeah, that was nice.
moxie is like that but for UNIX nerds.
No one's perfect. :-) We got you covered.
-
Use pip!
$ pip install moxie
-
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?
-
Test it out...
$ moxie-test http://127.0.0.1:8080/
Almost perfect! Except, that text at the top could be improved.
-
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.
-
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."
-
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
-
I donno. Put it on a web server someplace?
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