Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Application is dockerized #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

myhailo-chernyshov-rg
Copy link

@myhailo-chernyshov-rg myhailo-chernyshov-rg commented Sep 24, 2024

Description

This PR is addressed to make the converter platform-independent.
To perform it, Dockerfile is written, the files that should not be included into Docker image are specified in .dockerignore.
All base requirements are installed during application installation.

Usage instructions

  1. Build the image:
docker build -t cc2olx .
  1. Run the conversion command in a container by mounting passed argument path directories/files and passing the corresponding arguments to the script:
docker run --rm -v /input/file/path/cc_course_dump.imscc:/data/input/cc_course_dump.imscc -v /output/file/path/output_dir:/data/output/ cc2olx -r zip -i /data/input/cc_course_dump.imscc -o /data/output/edx_dump

It will convert Common Cartridge dump from /input/file/path/cc_course_dump.imscc and save the OLX in /output/file/path/output_dir/edx_dump.zip file.

Deadline

"None"

@myhailo-chernyshov-rg myhailo-chernyshov-rg force-pushed the myhailochernyshov/application-is-dockerized branch from 7571670 to f2eb1f1 Compare September 24, 2024 22:04
@arsentur
Copy link

Looks good.

@NiedielnitsevIvan NiedielnitsevIvan self-requested a review November 7, 2024 15:27
@myhailo-chernyshov-rg myhailo-chernyshov-rg force-pushed the myhailochernyshov/application-is-dockerized branch from 6e5509e to 80ed18c Compare December 19, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants