37 Commits

Author SHA1 Message Date
Nick Daly
3ab7d05bf3 Add hosting and auto-archive-creation.
The makefile has three new targets:

1. hosting: Publish repository and automagically build the archives to
   serve to clients.

2. current-checkout.tar.gz: Create an archive of the current project
   directory.

3. current-repository.tar.gz: Create an archive of the current project
   directory along with the source repository metadata so that the
   archive is a full checkout of the project.
2013-04-23 21:44:09 -05:00
Nick Daly
f55c7a48ea Merged with James's upstream.
Hope I did it right.  If I screwed up, withsqlite is borked.
2013-04-23 17:49:22 -05:00
Nick Daly
83cc3b4614 Build files are now stored in ./vendor/ 2013-03-23 18:44:13 -05:00
James Vasile
1ddf4bede4 Adjust how modules are imported
* change to u. notation for util, since from foo import * is evil
 * make import vendor.foo possible
 * vendor dir is part of the repo now, no need to mkdir
 * use the vendor.foo notation
2013-02-09 13:11:06 -05:00
James Vasile
ce34a5eaa8 bit of Makefile reorganization 2013-02-07 16:43:44 -05:00
James Vasile
c976b1a00c adjust makefile to use submodules 2013-02-07 14:25:08 -05:00
James Vasile
f0fd63b544 add missing pieces to make uninstall 2013-02-07 12:55:43 -05:00
James Vasile
338a0684ba quote the wildcards in rsync excludes 2013-02-07 12:22:45 -05:00
James Vasile
fdd1d04170 Don't set DESTDIR in the Makefile
See http://www.gnu.org/prep/standards/html_node/DESTDIR.html#DESTDIR
2013-02-07 11:38:49 -05:00
James Vasile
65fe8434e3 Fix paths in installed version
* Read python.config from script dir
 * Make dirs for pid and run

Maybe making DESTDIR/var/run during make install is not needed because
we can expect the target system to have /var/run, but if it's missing
the CherryPy engine will fail when it tries to write the pid.  So I
added it.
2013-02-07 11:30:37 -05:00
James Vasile
3a7f2bd860 no need to write a cherryp.config 2013-02-07 09:22:00 -05:00
James Vasile
63d2c3ee68 Makefile improvements
* Remove commented out git pull lines.  We shouldn't update so automatically.
 * Use rsync because it gives us --exclude
 * Put docs where the webserver can find them
2013-02-07 06:21:45 -05:00
James Vasile
8440775141 put man page in place during make install 2013-02-07 06:06:35 -05:00
James Vasile
4371af4c12 silencing some things in Makefile 2013-02-06 22:41:09 -05:00
James Vasile
dc7dba26cf copy sample config 2013-02-06 22:31:07 -05:00
James Vasile
2f4dd2642d add docs to make un/install, handle a few unhandled things to install 2013-02-06 22:28:14 -05:00
James Vasile
d33f6c2997 add make uninstall target 2013-02-06 20:50:10 -05:00
James Vasile
e048871f28 add install target 2013-02-06 20:48:02 -05:00
James Vasile
fb3af15edd remove cherrypy.cfg from default 2013-02-06 12:39:49 -05:00
James Vasile
2288b7804a s/_DIR/DIR/ 2013-02-06 09:00:19 -05:00
James Vasile
f6a9f4c0d5 add cherrypy3 to Makefile, clean up some git 2013-02-05 16:08:17 -05:00
James Vasile
a14727f2fc pull withsqlite from github 2013-02-05 16:06:16 -05:00
James Vasile
028ab7fcfb combine build and vendor dirs 2013-02-05 15:10:13 -05:00
Tom Galloway
b54a4906e6 Fix to allow hostname to be updated on Ubuntu. This needed a change to exmachina which I've created a pull request for. I've updated Make to point to my fork of exmachina until this has been merged, when it can be reverted. 2013-01-10 09:15:31 +00:00
Nick Daly
8e16374136 Commented out the extra bjsonrpc call. 2013-01-06 16:05:58 -06:00
Tom Galloway
b45d5cfe85 Extra predepend's, plinth doesn't need to run as root, pidfile location set in cfg file. 2013-01-04 12:50:51 +00:00
Tom Galloway
95118b3b96 Clean now uses BUILD_DIR variable. 2013-01-03 15:22:16 +00:00
Tom Galloway
076bf829e7 Extra predepend 2013-01-03 15:12:15 +00:00
Tom Galloway
b2c157ec1d Added predepend packages and updated python path for build folders. 2013-01-03 15:08:06 +00:00
James Vasile
dcd36e1b94 cfg.py shouldn't overwrite local config on update 2012-02-19 15:07:14 -05:00
James Vasile
d082538aee move to sqlite3 + json dict storage for users 2012-02-19 15:07:13 -05:00
James Vasile
15b2cb9ac4 rm data/cherrypy_sessions/* on clean 2011-03-09 14:39:42 -05:00
James Vasile
56a05efc24 make clean removes cherrypy.config 2011-03-09 14:08:59 -05:00
James Vasile
24991026bc make clean removes cherrypy.config 2011-03-09 14:08:50 -05:00
James Vasile
18b9df74f9 Makefile generates cherrpy.config 2011-03-09 13:41:29 -05:00
James Vasile
7780467902 make cherrypy_sessions dir 2011-03-09 12:33:02 -05:00
James Vasile
35071d7212 ... 2011-02-22 13:32:45 -05:00