摘要: sudo apt-get install postgresql-9.1out put :)Installation Finished. :)Please read the official reference about how to use PostgreSQLhttp://www.postgresql.org/docs/9.1/interactive/tutorial-createdb.html____________su rootsu - postgres#log into postgrespsql -U posgresthen we get into the postgreSQL co 阅读全文
posted @ 2013-04-08 15:22 spaceship9 阅读(227) 评论(0) 推荐(0) 编辑
摘要: it's too sad that MySQLdb module is not capatiable with the newest pyramid web application framework (python3)if you do really want to use MySQL to store your data.Just use the python 2.7 when you are deploying pyramid app.http://sourceforge.net/projects/mysql-python/ 阅读全文
posted @ 2013-04-08 12:35 spaceship9 阅读(196) 评论(0) 推荐(0) 编辑
摘要: http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch/narr/install.html是我在csdn的博客:http://blog.csdn.net/spaceship20008/article/details/8767884放在cnblogs做备份按照介绍操作。我用的是mint13, python 3.2.3版本。使用的是virtualenv 开发工具在一个虚拟的python环境下开发web app这样很不错。请按照其步骤来。在python3.2中,有一些东西需要记住:4.6.2. Old String Formattin 阅读全文
posted @ 2013-04-08 10:47 spaceship9 阅读(452) 评论(0) 推荐(0) 编辑
摘要: to handle posgreSQL well.i found this article may be helpful.From: http://www.cnblogs.com/tzp_8/archive/2012/11/08/2760746.htmlpostgresql 常用命令(1)用户实用程序:createdb 创建一个新的PostgreSQL的数据库(和SQL语句:CREATE DATABASE 相同)createuser 创建一个新的PostgreSQL的用户(和SQL语句:CREATE USER 相同)dropdb 删除数据库dropuser 删除用户pg_dump 将Postg 阅读全文
posted @ 2013-04-08 10:43 spaceship9 阅读(204) 评论(0) 推荐(1) 编辑
摘要: I created an app on openshift. and then i added a postgreSQL cartridge there.using ssh username@ip which redhat provided i logged into the server.using command "export" to check out the postgreURL which looks like postgre://username:password@ip:portthen store those information.To make post 阅读全文
posted @ 2013-04-08 10:31 spaceship9 阅读(724) 评论(0) 推荐(0) 编辑