Changes between Version 4 and Version 5 of HackageDB/2.0

Show
Ignore:
Timestamp:
07/22/11 09:40:05 (22 months ago)
Author:
duncan
Comment:

fix port number

Legend:

Unmodified
Added
Removed
Modified
  • HackageDB/2.0

    v4 v5  
    2424Note that the `dist/build/blah blah` and `--static-dir` bits are only needed for running the server inplace in the build tree. If you install it then that's not needed. But it's handy while hacking on it to run inplace. 
    2525 
    26 This creates an empty server and runs it on port 8000, so point your browser to `http://localhost:8000/`. It creates a single administrator account with username admin and password admin (you can specify something different at init time if you like, see `hackage-server init --help` for details). 
     26This creates an empty server and runs it on port 8080, so point your browser to `http://localhost:8080/`. It creates a single administrator account with username admin and password admin (you can specify something different at init time if you like, see `hackage-server init --help` for details). 
    2727 
    2828You can kill the server just using `control-C`. It should save state and shutdown cleanly. You can then run it again and it will resume with the same state. 
     
    3434=== Creating users & uploading packages === 
    3535 
    36 The list of registered users is at http://localhost:8000/users/ 
     36The list of registered users is at http://localhost:8080/users/ 
    3737 
    38 You can register new users at http://localhost:8000/users/register 
     38You can register new users at http://localhost:8080/users/register 
    3939 
    40 I don't think there is currently any link to this page from the users page or from `http://localhost:8000/accounts.html` but there should be! Currently there is no restriction on registering, but only an admin user can grant privileges to registered users e.g. by adding them to other groups. In particular there are groups: 
     40I don't think there is currently any link to this page from the users page or from `http://localhost:8080/accounts.html` but there should be! Currently there is no restriction on registering, but only an admin user can grant privileges to registered users e.g. by adding them to other groups. In particular there are groups: 
    4141 
    42  * admins http://localhost:8000/users/admins/ -- administrators can do things with user accounts like disabling, deleting, changing other groups etc. 
    43  * trustees http://localhost:8000/packages/trustees/ -- trustees can do janitorial work on all packages 
    44  * mirrors http://localhost:8000/packages/mirrorers/ -- for special mirroring clients that are trusted to upload packages 
    45  * per-package maintainer groups http://localhost:8000/package/foo/maintainers -- users allowed to upload packages 
     42 * admins http://localhost:8080/users/admins/ -- administrators can do things with user accounts like disabling, deleting, changing other groups etc. 
     43 * trustees http://localhost:8080/packages/trustees/ -- trustees can do janitorial work on all packages 
     44 * mirrors http://localhost:8080/packages/mirrorers/ -- for special mirroring clients that are trusted to upload packages 
     45 * per-package maintainer groups http://localhost:8080/package/foo/maintainers -- users allowed to upload packages 
    4646 
    4747Currently any registered user can upload new packages i.e. new names (we may want to review this), but only people in the package maintainer group can upload new versions of existing packages.