/ceylon-herd

The Ceylon repository web application

Primary LanguageJava

How to run the Ceylon Repository

  1. Download Play Framework 1.2.4 and install it
  2. Run play dependencies to download the required modules
  3. Create your Postgres DB
    1. sudo su - postgres
    2. createuser -PSRD ceylon-repo
    3. enter ceylon-repo as password when prompted
    4. createdb -O ceylon-repo -E utf8 ceylon-repo
    5. exit
  4. Run the application
    1. play run

How to make your user admin

This can only be done by hand for now:

  1. Register your user at http://localhost:9000/register
  2. See in the logs in the console what your activation link is, and follow it (in DEV mode no mail is sent)
  3. Complete your registration
  4. Open a psql console to your database:
    1. psql -h localhost -U ceylon-repo
  5. Set yourself as admin
    1. UPDATE user_table SET admin = true WHERE username = 'your-user-name';