X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/cdd2d6b071d66ab892b621106fb4f817a55dec9c..f0b5a3f429928c07b134e37c706555de1cf71b59:/README.rst diff --git a/README.rst b/README.rst index f70796a..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 @@ -104,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 @@ -282,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 @@ -321,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; @@ -331,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; }