Simple site that allows users to request song(s) to a DJ.
Enter a search term. Press Request
.
The request is sent to the DJ.
Enter ./dj
.
I.e. https://github.andrewisen.se/dj-requests/dj
The page updates periodically.
https://github.andrewisen.se/dj-requests/
Basic understanding of PHP and how to upload file(s) to a FTP.
Clone repo.
- Upload the content to your FTP, or
- Run it locally with Docker:
docker run --name dj-requests -v `pwd`/app:/var/www/html -p 9000:80 -d php:7.2-apache
The site is now running at http://localhost:9000.
Useful Docker commands after running the container:
docker stop dj-requests
to stop the instance.docker start dj-requests
to start the instance (useful if you ever reboot you computer or Docker engine).docker restart dj-requests
to restart the instance.
Pull requests are welcome. See Issues for more info.
- Arvid Viderberg for initializing the idea.
- Allen Fair for providing a PHP Function to make a remote HTTP requests.
- The dev team at Spotify for providing straightforward docs for their API.