mirror of
https://gitlab.xiph.org/xiph/icecast-directory.git
synced 2026-11-03 02:56:12 +00:00
Obsolete Icecast stream directory (NodeJS version)
- JavaScript 66.6%
- HTML 25.8%
- CSS 7.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| apidoc | ||
| assets | ||
| config | ||
| controllers | ||
| test | ||
| views | ||
| .gitignore | ||
| app.js | ||
| create_tables.sql | ||
| package.json | ||
| README.md | ||
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