Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 721 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 721 Bytes

Icecast Directory

This is the new directory software to power dir.xiph.org, but is currently undergoing testing at dir-test.xiph.org.

Installation

Get a recent node version, like v5.x.

Install all dependencies with:

npm install

Create a postgres user:

CREATE USER diruser WITH PASSWORD 'dirpass';

And Database:

CREATE DATABASE xiphdirectory;
GRANT ALL PRIVILEGES ON DATABASE xiphdirectory to diruser;

Now login as the newly created user, change to the right database:

\c xiphdirectory

and load the create_tables.sql file:

\i create_tables.sql

Now you are ready to run the server with:

node app.js