-
Notifications
You must be signed in to change notification settings - Fork 0
s-aska/sample-bbs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# DB作成 su - postgres -c "createuser -S -R -D sample-bbs" su - postgres -c "createdb -O sample-bbs sample-bbs -E UTF-8 -T template0" # DDL流しこみ psql -U sample-bbs sample-bbs -f ./setup/ddl.sql # ApacheのReverseProxyに組み込む場合 ln -s /opt/sample-bbs/apache-conf/sample-bbs.conf /etc/httpd/conf.d/sample-bbs.con /etc/init.d/httpd restart # 手動で起動 (開発時) SAMPLE_BBS_BASEDIR=./ plackup -p 18080 -a app.psgi -r -R ./lib,./template - 以下を実行し、Plack等の依存モジュールを予めインストールしておく - ./setup/install_deps.sh # Initスクリプトで起動 (デーモン) /opt/sample-bbs/init.d/sample-bbs.sh start # chkconfig 登録 ln -s /opt/sample-bbs/init.d/sample-bbs.sh /etc/init.d/sample-bbs chkconfig sample-bbs on
About
サンプルアプリケーション
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published