[py3porters-devel] Pylons and snapshot.debian.org
Peter Palfrader
peter at palfrader.org
Tue Apr 21 19:48:25 UTC 2015
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/
More information about the py3porters-devel
mailing list