bandue is a revolutionary communication tool to connect with everyone who makes music
Please start by the following procedure
Enter the command in the following procedure
-
Dockerfile Build
$ docker build -t bandue:bandue .
-
Create Container
$ docker run -itd -p 8000:8000 -p 8080:8080 --name bandue -v <your-volume-path>:/home/bandue/ bandue:bandue
※For <your-volume-path>, enter the directory you want to share with the absolute path -
Server Start-up
$ docker exec -it bandue bash
$ cd server
$ python manage.py makemigrations api
$ python manage.py migrate
$ python manage.py loaddata fixture-age.json
$ python manage.py runserver 0.0.0.0:8000
-
Client Start-up
$ docker exec -it bandue bash
$ cd client && yarn upgrade
$ yarn serve
-
Redis Start-up
$ docker run --rm -dp 6379:6379 redis