Skip to content

Hemant-Mann/Musik

Repository files navigation

Musik

A site for Music Lovers

Dependencies

  • PHP 5.3+
  • MySQL (Running on port 3306)
  • Apache (With vHosts and rewrite module enabled)
  • Last.fm API Key
  • Google Developer Key to get data from Youtube (Create a project in Google developer console, enable youtube API and get the developer key)
  • Youtube DL (https://rg3.github.io/youtube-dl/)

Steps for installation

Follow these steps to configure the repo

git clone https://github.com/Hemant-Mann/Musik
cd Musik
chmod +x init && ./init

Also add virtual host configuration to apache

<VirtualHost *:80>
    ServerAdmin admin@musik.io
    DocumentRoot "/path/to/cloned/repo/"
    ServerName musik.io
    ServerAlias www.musik.io
</VirtualHost>

Add this line to php.ini since there might be some warnings generated by PHP

error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING)