Play and Stop Music
Project based on Djando Framework, for developement uses docker, webpack, react with typescript
Build docker images of django
and frontend(webpack)
, run this command in root of project
docker-compose build
After of build image, up project
docker-compose up
docker-compose run --rm app sh -c "django-admin startproject app ."
docker-compose run --rm app sh -c "python manage.py startapp api"
docker-compose run --rm app sh -c "python manage.py startapp frontend"
docker-compose run --rm app sh -c "python manage.py startapp spotify"
docker-compose run --rm app sh -c "python manage.py makemigrations"
docker-compose run --rm app sh -c "python manage.py migrate"
First cd into the frontend
folder.
cd frontend
Copy node_modules folder from container to host with docker command
docker cp music-controller-docker-webpack-frontend-1:/app/node_modules/ ./