Remember muxtape? Yeah, that was nice.
moxie is like that but for UNIX nerds.
No one's perfect. :-) We got you covered.
-
Use setuptools!
$ easy_install moxie
Some people prefer pip. You might be one of those people.
$ pip install moxie
We swing both ways.
-
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?
-
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 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
-
I donno. Put it on a web server someplace?
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