[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] configure/Makefile for mediagoblin

From: Brandon Invergo
Subject: Re: [GMG-Devel] configure/Makefile for mediagoblin
Date: Sun, 19 May 2013 15:59:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi again,

> I'm not sure what the status of it is... I pinged for an update:
> I would be interested in working with someone on figuring out how well
> this fits with current mediagoblin infrastructure.

Sorry for the delay.  I finally made a draft setup with pyconfigure.
Before I do a merge request, could someone please check it out and see
what it's missing or what doesn't work well?

So, once you get the code, cd into the directory and run:

$ ./configure --with-virtualenv --prefix=.

"--prefix" should point to the location where the site will be served
from.  Following the documentation, you would check out the mediagoblin
code and put it directly where you will be serving the site from, so in
this case, you set "--prefix=.". You could potentially have the code
anywhere and set --prefix to something else, i.e. say the code is at
~/Projects/mediagoblin, from there you would run

$ ./configure --with-virtualenv --prefix=/srv/

Then run either 

$ make develop


$ make install

That should install all the necessary files to the
/srv/ directory, including a copy of the
Makefile.  The documentation specifies "develop" (i.e. develop)
but I made an "install" target as well.  You should then be able to run
any of the following commands either from the source directory or from
the site directory.

To set up PostgreSQL:

$ make postgres

To update ( develop --upgrade & updatedb):

$ make update

There are also some targets for documentation, making a distribution,

I opted to make the Makefile a wrapper around But note that has been moved to  Upon running "configure", will be created.  This is in line with the GNU coding

Have a look through and, since that's primarily
where the changes were made.  I kept a lot of the comments from the
default pyconfigure files so that you have an idea of what's going on.
Notably, you'll see in that all of the prerequisites are
tested for.  From now on, be sure to update the version number contained

So anyway, like I said, please check it out and let me know how it can
be improved!


Brandon Invergo

Attachment: pgpmVoXWLOvei.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]