git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
send cache headers for static phorkie .png files
[phorkie.git]
/
README.rst
diff --git
a/README.rst
b/README.rst
index 8f4366719fba8383fb354966ab72eae7c66ff68d..043c438e52804fbc269ee172ae377db575f536f4 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-69,7
+69,10
@@
Installation
must also set the ``RewriteBase`` in the ``.htaccess`` file or adjust
the nginx configuration accordingly.
must also set the ``RewriteBase`` in the ``.htaccess`` file or adjust
the nginx configuration accordingly.
-6. Open phorkie in your web browser
+6. Open http://yourhost/setup in your web browser to see if everything
+ is working fine.
+
+7. Go to http://yourhost/
Dependencies
Dependencies
@@
-90,12
+93,13
@@
on your machine:
$ pear install http_request2
$ pear install pager
$ pear install date_humandiff-alpha
$ pear install http_request2
$ pear install pager
$ pear install date_humandiff-alpha
+ $ pear install openid-alpha
$ pear channel-discover pear.twig-project.org
$ pear install twig/Twig
$ pear channel-discover pear.twig-project.org
$ pear install twig/Twig
- $ pear channel-discover
mediawiki.googlecode.com/svn
- $ pear install
mediawik
i/geshi
+ $ pear channel-discover
pear.geshi.org
+ $ pear install
gesh
i/geshi
$ pear channel-discover zustellzentrum.cweiske.de
$ pear install zz/mime_type_plaindetect-alpha
$ pear channel-discover zustellzentrum.cweiske.de
$ pear install zz/mime_type_plaindetect-alpha
@@
-103,10
+107,8
@@
on your machine:
$ pear channel-discover pear.michelf.ca
$ pear install michelf/Markdown
$ pear channel-discover pear.michelf.ca
$ pear install michelf/Markdown
-Note that this version of GeSHi is a bit outdated, but it's the fastest
-way to install it.
-If you install it manually be sure to update the
-path from ``data/config.default.php``.
+ $ pear channel-discover pear2.php.net
+ $ pear install pear2/pear2_services_linkback-alpha
======
======
@@
-281,10
+283,16
@@
URLs
Search for term, with optional page
``/list(/[0-9])?``
List all pastes, with optional page
Search for term, with optional page
``/list(/[0-9])?``
List all pastes, with optional page
+``/fork-remote``
+ Fork a remote URL
+``/help``
+ Show help page
``/new``
Shows form for new paste
``/login``
Login page for protecting site
``/new``
Shows form for new paste
``/login``
Login page for protecting site
+``/setup``
+ Check if everything is setup correctly and all dependencies are installed
``/user``
Edit logged-in user information
``/user``
Edit logged-in user information
@@
-320,6
+328,8
@@
If you use nginx, place the following lines into your ``server`` block:
rewrite ^/([0-9]+)/rev-raw/(.+)$ /raw.php?id=$1&rev=$2&file=$3;
rewrite ^/([0-9]+)/tool/([^/]+)/(.+)$ /tool.php?id=$1&tool=$2&file=$3;
rewrite ^/([0-9]+)/rev-raw/(.+)$ /raw.php?id=$1&rev=$2&file=$3;
rewrite ^/([0-9]+)/tool/([^/]+)/(.+)$ /tool.php?id=$1&tool=$2&file=$3;
+ rewrite ^/fork-remote$ /fork-remote.php;
+ rewrite ^/help$ /help.php;
rewrite ^/new$ /new.php;
rewrite ^/feed/new$ /feed-new.php;
rewrite ^/feed/updated$ /feed-updated.php;
rewrite ^/new$ /new.php;
rewrite ^/feed/new$ /feed-new.php;
rewrite ^/feed/updated$ /feed-updated.php;
@@
-330,5
+340,6
@@
If you use nginx, place the following lines into your ``server`` block:
rewrite ^/search/([0-9]+)$ /search.php?page=$1;
rewrite ^/login$ /login.php;
rewrite ^/search/([0-9]+)$ /search.php?page=$1;
rewrite ^/login$ /login.php;
+ rewrite ^/setup$ /setup.php;
rewrite ^/user$ /user.php;
}
rewrite ^/user$ /user.php;
}