X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/f88c38723e3c807769627aff2866fc3cf5c8472f..56857f47034f0f8ec87954b8ad60c4c6d65280ac:/README.rst diff --git a/README.rst b/README.rst index 8f43667..1270c30 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 @@ -90,6 +93,7 @@ on your machine: $ 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 @@ -103,6 +107,9 @@ on your machine: $ pear channel-discover pear.michelf.ca $ pear install michelf/Markdown + $ pear channel-discover pear2.php.net + $ pear install pear2/pear2_services_linkback-alpha + 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 @@ -281,10 +288,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 @@ -320,6 +333,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; @@ -330,5 +345,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; }