Skip to content

audio-converter allows you to convert audio files from within your web browser.

License

Notifications You must be signed in to change notification settings

mac641/audio-converter

Repository files navigation

docker hub deployment

audio-converter logo

audio-converter allows you to convert audio files from within your web browser.

Production Usage

  1. Create a new directory which will hold all interactive files (e.g. the database, logs, converted files) by typing mkdir -p media in a terminal. This directory has to be created in this project's root directory.
  2. Create a user config file by typing make user_config in your terminal.
    1. Open the new file (media/user_config.py) and fill up the example placeholder between the quotation marks.
    2. Save the file.
  3. Adjust the timezone to your needs by editing TZ under environment: in .docker/docker-compose.yml.
  4. Start the server!
    • If you want to build and start the production server locally, type make run_docker_prod in your terminal.
    • Alternatively you can pull a pre-built image from DockerHub. Follow the instructions on DockerHub to run the server.

How to contribute

  1. Make sure you have docker/podman and docker-compose installed.
  2. If using PyCharm, add a new Docker-Compose Interpreter (Jetbrains Guide: Configuring Docker Compose as a remote interpreter) to enable linting.
  3. Create a user config file by typing make user_config in your terminal.
    1. Open the new file (media/user_config.py) and fill up the example placeholder between the quotes.
    2. Save the file.