-
Notifications
You must be signed in to change notification settings - Fork 0
Installation.md
Vandecappelle edited this page Feb 26, 2018
·
6 revisions
- Install nodejs
| version | Note |
|---|---|
| > 4.0 | work well (do not install, libgroove as a dependency, this is an optional dependency and it doesn't compatible with node >= 4) |
-
Clone the project
git clone git@github.com:svandecappelle/ongaku.git -
Install project dependencies
- Redis:
-
Ubuntu / Debian
sudo apt-get install redis -
RedHat / CentOs /
yum install redis -
Archlinux
pacman -S redis -
Unix FreeBSD
cd /usr/ports/databases/redis/ && make install clean -
Windows: Install redis windows ports downloadable from https://github.com/MSOpenTech/redis/releases
-
Others: Follow instruction on redis page: here
-
- Redis:
-
Choose one of this dependencies if some library elements are non streamable (streamable are mp3/wav/ogg formats):
- ffmpeg (recommended)
- Ubuntu / Debian
sudo apt install ffmpeg - Fedora / CentOs
sudo dnf install ffmpeg - Archlinux / Manjaro
sudo pacman -S ffmpeg
- Ubuntu / Debian
- libgroove (Not compatible with nodejs >= 4)
- ffmpeg (recommended)
-
Install node canvas dependencies
- Ubuntu / Debian
sudo apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++ - Fedora / CentOs
sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel - Archlinux / Manjaro
sudo pacman -S cairo cairomm libjpeg-turbo pango pangomm giflib
- Ubuntu / Debian
-
Run: npm install
Note: if you want to use waveforms themes on visualizations you need to install ffmpeg first