Skip to content
The Ceylon repository web application
Java HTML CSS JavaScript Other
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
conf
db
debian
lib
public
redhat
test
.gitignore
LICENSE
README.md

README.md

How to run the Ceylon Herd Module 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-herd
    3. enter ceylon-herd as password when prompted
    4. createdb -O ceylon-herd -E utf8 ceylon-herd
    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-herd
  5. Set yourself as admin
    1. UPDATE user_table SET admin = true WHERE username = 'your-user-name';

License

The content of this repository is released under the AGPL V3 as provided in the LICENSE file that accompanied this code.

Something went wrong with that request. Please try again.