X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/cdd2d6b071d66ab892b621106fb4f817a55dec9c..8d4d90d445cc0b0032e0f76ab98cac5a5a29df66:/README.rst diff --git a/README.rst b/README.rst index f70796a..043c438 100644 --- 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. -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 @@ -95,8 +98,8 @@ on your machine: $ pear channel-discover pear.twig-project.org $ pear install twig/Twig - $ pear channel-discover mediawiki.googlecode.com/svn - $ pear install mediawiki/geshi + $ pear channel-discover pear.geshi.org + $ pear install geshi/geshi $ pear channel-discover zustellzentrum.cweiske.de $ pear install zz/mime_type_plaindetect-alpha @@ -104,10 +107,8 @@ on your machine: $ 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 ====== @@ -282,10 +283,16 @@ URLs 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 +``/setup`` + Check if everything is setup correctly and all dependencies are installed ``/user`` Edit logged-in user information @@ -321,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 ^/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; @@ -331,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 ^/setup$ /setup.php; rewrite ^/user$ /user.php; }