2012-02-01から1ヶ月間の記事一覧

dotCloud で Django

$ mkdir django $ cd django $ gedit dotcloud.yml www: type: python $ sudo yum install Django $ django-admin.py startproject bucho $ gedit wsgi.py # -*- coding: utf-8 -*- import os import sys os.environ['DJANGO_SETTINGS_MODULE'] = 'bucho.set…

dotCloud で Mojolicious hello world

$ mkdir mojo $ cd mojo $ gedit dotcloud.yml www: type: perl $ gedit Makefile.PL PREREQ_PM => {'Mojolicious' => '1.21'}$ gedit app.psgi $ENV{MOJO_MODE} = 'production'; require 'myapp.pl'; $ gedit myapp.pl #!/usr/bin/env perl use Mojolicious…

dotCloud で PSGI/Plack hello world

$ mkdir psgi $ cd psgi $ gedit dotcloud.yml www: type: perl approot: helloperl $ mkdir helloperl $ cd helloperl $ gedit Makefile.PL PREREQ_PM => { 'Test::More' => 0, 'YAML' => 0, 'Dancer' => 1.3030, 'Plack' => 0.9974, },$ gedit app.psgi my…

PSGI/Plack でHello World

hello.psgi my $app = sub { my $env = shift; return [ 200, [ 'Content-Type' => 'text/plain' ], [ "Hello World" ], ]; }; $ sudo yum install perl-Plack $ plackup hello.psgi 参考 PSGI/Plack

Catalyst

$ sudo yum install "perl-Catalyst*"$ catalyst.pl MyApp$ cd MyApp$ script/myapp_server.pl -r 参考--

herokuにLokkaをインストール

インストールできました myapps インストール方法1、インストール方法2 herokuのアカウント作成圧縮状態で100MBまで無料。参考 $ sudo gem install heroku 参考 $ mkdir heroku $ cd heroku $ git clone git://github.com/komagata/lokka.git $ cd lokka $ h…

dotCloudにRedmineをインストール

インストールできた。 インストール方法1(olddocs)、インストール方法2 $ mkdir dotcloud $ cd dotcloud $ wget http://rubyforge.org/frs/download.php/75097/redmine-1.2.1.tar.gz $ tar zxvf redmine-1.2.1.tar.gz $ cd redmine-1.2.1 $ gedit dotcould.y…

dotCloudにWordPressをインストール

インストールできた。 dashbord インストール方法1、インストール方法2olddocs $ sudo yum install python-setuptools python-devel ($ sudo yum install "python*") $ sudo easy_install pip && sudo pip install dotcloud dotCloudのアカウント作成(2つ…

Momonga 7 インストール

Momonga-7-i686-DVD.iso 最初にやること ログイン画面で日本語(UTF-8)を選択。 キーボードの設定でリピートキーの間隔を短めに。 aliasを追加 FireGestures(Firefox拡張) _blankなリンクのカーソルを変更(userContent.css) FirefoxのスムーズスクロールをOFF…

Fedora 16 インストール

Fedora-16-i386-DVD.torrent でisoをダウンロードしてDVDに焼いてインストールします。 最初にやること Alternative Status MenuをON DockをON Window ListをON Show Desktop ButtonをON フォルダ名を英語の名前に変更します。($ LANG=C xdg-user-dirs-gtk-u…