/[A3C]/bin/db-init.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /bin/db-init.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 140 - (hide annotations)
Fri May 30 22:02:19 2008 UTC (15 years, 9 months ago) by dpavlin
File MIME type: application/x-sh
File size: 152 byte(s)
fix encoding

on-disk php files are in ISO-8859-2, so support that and require
that PostgreSQL encoding is UTF-8
1 dpavlin 113 kill `cat var/jifty-server.pid`
2 dpavlin 46 psql -l -t -A | grep ^a3c | cut -d\| -f1 | xargs -i dropdb {}
3 dpavlin 140 createdb --encoding utf8 a3c
4 dpavlin 46 jifty schema
5 dpavlin 140 #./bin/towns.pl

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26