645bf79b by astaxie

Merge pull request #50 from Unknwon/master

complete quick start
2 parents 7b6a571f e1a4001c
1 ##supervisord
2
3 1. Installation
4
5 wget http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
6
7 sh setuptools-0.6c11-py2.7.egg
8
9 easy_install supervisor
10
11 echo_supervisord_conf >/etc/supervisord.conf
12
13 mkdir /etc/supervisord.conf.d
14
15 2. Configure /etc/supervisord.conf
16
17 [include]
18 files = /etc/supervisord.conf.d/*.conf
19
20 3. Add new application
21
22 cd /etc/supervisord.conf.d
23 vim beepkg.conf
24
25 Configuration file:
26
27 [program:beepkg]
28 directory = /opt/app/beepkg
29 command = /opt/app/beepkg/beepkg
30 autostart = true
31 startsecs = 5
32 user = root
33 redirect_stderr = true
34 stdout_logfile = /var/log/supervisord/beepkg.log
...\ No newline at end of file ...\ No newline at end of file
1 # 一步一步跟我写博客
2
3 ## 创建项目
4
5 ## 数据库结构设计
6
7 ## 控制器设计
8
9 ## 模板设计
10
11 ## 用户登陆退出
12
13 ## 数据库操作
...\ No newline at end of file ...\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!