Skip to content

Online audio distribution platform and music sharing website

Notifications You must be signed in to change notification settings

kkkirill/vibrer

Repository files navigation

Vibrer

Online audio distribution platform and music sharing website

Installation Docker and its dependencies:

  1. Install Docker
  2. Install Docker Compose

Build container:

  1. Enter project folder.

    cd vibrer
    # (you should get to the same level with Dockerfile)
  2. Build container.

    docker-compose build

    Note:
    To update pip dependencies, run Django model migrations and start server execute following:

    docker-compose -f docker-compose.yaml -f docker-compose.setup.yaml up

    To make migrations and apply them run following:

    docker-compose -f docker-compose.yaml -f docker-compose.mkmigrations.yaml up

    To show running containers run following:

    docker[-compose] ps

    To stop running containers run following:

    docker-compose stop
  3. Before run container run following:
    Install AWS CLI:

    sudo apt install awscli 


    Create AWS bucker:

    aws --endpoint-url=http://0.0.0.0:4572 s3 mb s3://vibrer-media


    Add bucket ACL:

    aws --endpoint-url=http://0.0.0.0:4572 s3api put-bucket-acl --bucket vibrer-media --acl public-read
  4. Run container.

    docker-compose up
    docker-compose start

Releases

No releases published

Packages

 
 
 

Languages