Commits

Marcin Kasperski  committed c0dab2c

Friendlier defaults

  • Participants
  • Parent commits 2ccd476
  • Tags s9y2blogofile_1-0-0

Comments (0)

Files changed (3)

       XML suitable for Disqus import).
 
 Read comments in both files for more detail.
+
+WARNING: You must edit connection strings inside scripts before running them!!!!

File serendipity2blogofile.py

 
 db_username  = "blogowner"
 db_password  = ""                    
-db_host      = "linode.mekk.waw.pl"  
+db_host      = "localhost"  
 db_port      = "5432"
 db_database  = "BLOG" 
 db_conn      = "postgres://{db_username}:{db_password}@{db_host}:{db_port}/{db_database}".format(**locals())

File serendipity2disqus.py

 
 ### Database connection details
 
-table_prefix = "s9en_"
+table_prefix = "s9pl_"
 
 db_username  = "blogowner"
 db_password  = ""                    
-db_host      = "linode.mekk.waw.pl"  
+db_host      = "localhost"  
 db_port      = "5432"
 db_database  = "BLOG" 
 db_conn      = "postgres://{db_username}:{db_password}@{db_host}:{db_port}/{db_database}".format(**locals())