[py3porters-devel] Pylons and snapshot.debian.org
Matt Singleton
matt at xcolour.net
Tue Apr 21 20:41:41 UTC 2015
Great, thanks! I've added this to the aforementioned wiki page.
Matt
> On Apr 21, 2015, at 3:48 PM, Peter Palfrader <peter at palfrader.org> wrote:
>
> On Sun, 19 Apr 2015, Matt Singleton wrote:
>
>> I'm thinking our plan of attack should be:
>>
>> 1. Figure out how to get the current thing running locally
>
> If all you need is an approximation, then the following should do:
>
> Get postgres:
> sudo apt-get install postgresql-9.4 postgresql-9.4-debversion postgresql-plperl-9.4
> (On wheezy use 9.1 instead.)
>
> and create users:
> sudo -u postgres createuser -P snapshot
> sudo -u postgres createuser -P guest # I used 'guest' as password.
>
> Fetch a tiny sample database dump (630k) from
> https://www.palfrader.org/volatile/2015-04-21-03Yx375znrU/snapshottst.xz
> and have it create and populate the database.
>
> xzcat snapshottst.xz | sudo -u postgres psql
>
>
> To get the current pylons code to work:
>
> Configure database info in development.ini. Here's mine:
> https://www.palfrader.org/volatile/2015-04-21-59ylxSmijic/development.ini
>
> and run
> paster serve --reload development.ini
> } Starting subprocess with file monitor
> } Starting server in PID 1696.
> } serving on http://127.0.0.1:5002
>
> visit http://127.0.0.1:5002
>
> Cheers,
> --
> | .''`. ** Debian **
> Peter Palfrader | : :' : The universal
> http://www.palfrader.org/ | `. `' Operating System
> | `- http://www.debian.org/
>
> _______________________________________________
> py3porters-devel mailing list
> py3porters-devel at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/py3porters-devel
More information about the py3porters-devel
mailing list