if i want to create a forum or something where i have to store data, do i have to use mysql then? or can i just save info somehow else? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed... 続きを読む
web.py-0.34 を試す web.py-0.34 をインストールし、簡単な動作確認を行うまでのメモ。 python-setuptools web.py のインストールに使用する python-setuptools をインストールする。 install # yum -y install python-setuptools web.py python-setuptools の ... 続きを読む
web.py 動かし方 ;; webpy_blogって名前のDBは作成済みってとこから $ mysql -u hoge -p < sql/page.sql $ mysql -u hoge -p < sql/user.sql $ python myblog.py ↑ myblog.py __version__ = '0.0.2' __author__ = 'syobosyobo@gmail.com' import time import w... 続きを読む
Pythonの簡単・軽量Webフレームワークweb.pyを導入した際のメモです。mod_wsgiを導入し、Apacheで動かせる状態にしています。 mod_wsgiのインストール yumでsearchすると見つかったのでそのままインストールしたのですが、どうもPython2.4を見てしまうらしく、... 続きを読む
使うもの apache2.2.9 python2.5 mod_wsgi2.3 事前にexpatのインストール yum install expat 事前にlibtoolの確認インストール yum install libtool >which libtool /usr/bin/libtool apacheのlibtoolを使わない >cd /opt/apps/apache2.2/build >mv libtool lib... 続きを読む
“Think about the ideal way to write a web app. Write the code to make it happen.” [more...] Requirements Apache 2.x mod_fcgid mod_rewrite Flup Note, on CentOS compiling mod_fcgid requires apache-devel be installed (available via yum). Apach... 続きを読む
"Think about the ideal way to write a web app. Write the code to make it happen." (More...) The following steps were tested on Apache-2.2.3 (Red Hat Enterprise Linux 5.2, x86_64), mod_wsgi-2.0. Note: You may replace 'appname' with your own pr... 続きを読む
"Think about the ideal way to write a web app. Write the code to make it happen." (More...) はじめに Python を使ってウェブサイトを作りたい。web.py は、これを簡単に実現するコードを提供するものだ。 チュートリアルにあることをすべて実行するには、... 続きを読む
“Think about the ideal way to write a web app. Write the code to make it happen.” [more...] Summary Starting URL Handling GET and POST: the difference Start the server Templating Forms Databasing Developing What next? Starting So you know P... 続きを読む