mrkipling/maraschino — pull request #144 by N3MIS15 (2012-05-31 08:47:37+00:00)
Title: Maraschino core restructure

This was a HUGE undertaking.. I didn't know what i was getting myself into.
The main goal of this restructure is to make core stuff more accessable to the rest of the program.
I started by removing the need for maraschino-cherrypy.py using Mar2zz's code as a base. (starts wsgi by default and dev server with --develop)

other args added are: --port, --daemon, --pidfile, --log, --verbose, --database.
Most of the daemon/pidfile stuff is borrowed from headphones.

There is no settings.py required for this branch everything has a default set (database is in maraschino root, port is 7000)
Auth has been disabled for now (i plan on adding it as a setting in the ui).

This branch also fixes forking issues (you may have noticed the database initializing twice..)

A lot has been changed here and i may have broken some things that i have not noticed. I have sent this pull request more to get opinions and some more testing (i have done no testing on osx).
The branch needs to be rebased as i based it of my updater branch and then removed the updater code, but i think that can wait until the bugs if any are ironed out.

@mrkipling, @gugahoi let me know what you think about this direction