A phoenix application to handle a user library of songs and videos retrieved from Spotify and Youtube.
If you're a Linux user, follow the steps bellow:
- install Docker for Linux.
If you're a macOS user, follow the steps bellow:
- install Docker for macOS;
- install VirtualBox;
- install Docker Machine;
- run
docker-machine create default --driver virtualbox --virtualbox-memory "3072"
- you will need to
eval $(docker-machine env)
everytime, so you can configure that in the.zshrc
or.bashrc
; - install NFS for Docker Machine and follow its installation instructions.
If you're a Windows user, follow the steps bellow:
- install Docker for Windows;
- install VirtualBox;
- install Docker Machine;
- run
docker-machine create default --driver virtualbox --virtualbox-memory "3072"
- you will need to
eval $(docker-machine env)
everytime, so you can configure that in the.zshrc
or.bashrc
;
- Make sure your SSH key is configured to your GitHub account;
- If not, follow this tutorial.
Attention
Some steps bellow does not apply to Linux or Windows users:
❌ Linux and Windows: 5 step
- clone the repository:
git clone [email protected]:lucasmedeirosleite/sound_place.git
cd sound_place
cp .env.sample .env
docker-machine start
- activate NFS:
docker-machine-nfs default
- check your virtual machine ip with
docker-machine ip
. Copy it to accomplish the next step - open
/etc/hosts
and add a line with#{the ip from previous step} dev
docker-compose up
- Sound Place is available at
http://dev:4000
or atlocalhost://4000
for Linux users