Skip to main content

Posts

Update's in Docker Compose V3

What’s new in Docker Compose v3 In this blog, we’ll discuss new features added in Docker Compose v3. Docker compose added the feature of stack deployment with swarm. To achieve this, we need to create a file named, docker-stack.yml and specify the deploy key, which would allow you to specify various properties of a swarm deployment in docker-stack.yml file. For deploying this, you simply need to run the docker-stack deploy command with this docker-stack.yml file to pull the referenced images and launch the services in a swarm as configured in the  .yml . deploy key The deploy key allows you to specify configuration related to the deployment and running of services. The deploy key can also be used to constrain some services to run only on the manager node. Specify configuration related to the deployment and running of services. This only takes effect when deploying to a swarm cluster with `docker stack deploy` command and is ignored by docker-compose up and d

How to Remove course from Open-edX

Go to vagrant  => 1. In the edx-platform directory:  - cd /edx/app/edxapp/edx-platform 2. Run the following Django management command:   - sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms dump_course_ids --settings aws    - sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms dump_course_ids --settings=devstack 3. Find the course ID which you'd like to delete in the resulting list of course IDs. 4. Copy the course ID into the following command and run it:  - sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp cms delete_course <COURSE_ID> --settings aws  -   sudo -u www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp cms delete_course <COURSE_ID> --settings=devstack  - You'll be asked to verify the deletion . To verify the deletion, run the command from step 2 above and ensure that the course ID is not in the list. Help reference : https://openedx.atlassian.net/wiki/spa

Discourse Integration with Open-edX

Hi, Just need to follow some steps & get discourse running with Open-edX. 😃 Step 1:   install the latest stable Docker. Run the following command inside vagrant shell sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com: 80 \     --recv-keys 36 A1D7869245C8950F966E92D8576A8BA88D21E9 sudo sh -c "echo deb https://get.docker.com/ubuntu docker main \           > /etc/apt/sources.list.d/docker.list" sudo apt-get update sudo apt-get install lxc-docker ------------------------------------------------------------------------------------------- Step 2: clone the git repository hosting the Discourse Docker configuration into the /var/discourse directory: mkdir /var/discourse cd /var/discourse git clone https://github.com/discourse/discourse_docker.git ------------------------------------------------------------------------------------------- Step 3: To configure discourse run following commands: Cd /var/discourse/discourse_docker. cp