mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
dev + troubleshooting guide
This commit is contained in:
parent
f390ffe580
commit
ebacb30b46
9
doc/DEVELOPMENT.md
Normal file
9
doc/DEVELOPMENT.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
You want to improve Stikked? Always welcome! Send us your pull request and you will be honoured in AUTHORS.md.
|
||||||
|
|
||||||
|
Some guidelines:
|
||||||
|
|
||||||
|
* For PHP only files (not views/themes), please run the PHP Beautifier (http://pear.php.net/package/PHP_Beautifier) with the following parameters:
|
||||||
|
```bash
|
||||||
|
php_beautifier --indent_tabs -l "IndentStyles(style=bsd) ArrayNested() NewLines(before=function:T_CLASS:if,after=T_COMMENT) ListClassFunction()"
|
||||||
|
```
|
||||||
|
* Other people may modify your contribution. Don't take that personal; we all want to improve Stikked. Your input is always welcome!
|
39
doc/TROUBLESHOOTING_GUIDE.md
Normal file
39
doc/TROUBLESHOOTING_GUIDE.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
Stikked troubleshooting guide
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
### Apache
|
||||||
|
|
||||||
|
#### 404 Not Found after creating a Paste
|
||||||
|
|
||||||
|
Rewrite rules must be enabled in httpd.conf.
|
||||||
|
|
||||||
|
### Nginx
|
||||||
|
|
||||||
|
#### 502 Bad Gateway
|
||||||
|
|
||||||
|
PHP FastCGI must be running. Here's my /etc/init.d/php-fgci config:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
FASTCGI_USER=www-data
|
||||||
|
FASTCGI_GROUP=www-data
|
||||||
|
ADDRESS=127.0.0.1
|
||||||
|
PORT=9000
|
||||||
|
PIDFILE=/var/run/php-fastcgi.pid
|
||||||
|
CHILDREN=6
|
||||||
|
PHP5=/usr/bin/php5-cgi
|
||||||
|
|
||||||
|
/usr/bin/spawn-fcgi -a $ADDRESS -p $PORT -P $PIDFILE -C $CHILDREN -u $FASTCGI_USER -g $FASTCGI_GROUP -f $PHP5
|
||||||
|
```
|
||||||
|
|
||||||
|
You can adapt that to your system.
|
||||||
|
|
||||||
|
### Lighttpd
|
||||||
|
|
||||||
|
### Cherokee
|
||||||
|
|
||||||
|
Still have a problem?
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
Report an issue at GitHub, and we will add your problem to this guide.
|
Loading…
x
Reference in New Issue
Block a user