Code Monkey home page Code Monkey logo

Comments (7)

WolfieZero avatar WolfieZero commented on August 16, 2024

I don't know much about docker either other than some very bad implementations of it! But I can see the benefit for using it with something like edX.

Will look at this ASAP :)

from tutor.

OmarIthawi avatar OmarIthawi commented on August 16, 2024

Pong @regisb!

Review is in progress...

from tutor.

OmarIthawi avatar OmarIthawi commented on August 16, 2024

It's been difficult to start this stack. It takes a lot of time to run!

I'd like to suggest that you take a look at my previous attempt:

It is also written from scratch (i.e. no ansible). However that one is more focused toward dev., not sure about this repo.

Mine is definitely not complete and we can merge efforts. However, mine features few different tradeoffs:

  • Separate build/run configurations
  • Which results in quick docker-compose up time
  • No IP lookup, ports are exposed to localhost
  • Code sync. Copy the out of the container for the dev start working!
  • With the same trick, it exposes the *.json envs to edit without rebuilding the containers!

from tutor.

regisb avatar regisb commented on August 16, 2024

Hey @OmarIthawi thanks a lot for working on this! (on a Sunday)
Most of the time is taken in 1) git clone 2) migrations 3) assets collection. Step 1 will be reduced once images are uploaded to hub.docker.com. As for steps 2 and 3, I don't think I could really accelerate that without moving data to the containers.

There's a lot to borrow from your Dockerfiles; will definitely integrate some stuff.

I noticed that there is some complexity getting syslog to work. I managed to solve that by setting dev_env=True in the LOGGING setting: https://github.com/regisb/openedx-docker/blob/master/lms/production.py Did you know about that trick?

from tutor.

OmarIthawi avatar OmarIthawi commented on August 16, 2024

Hey @OmarIthawi thanks a lot for working on this! (on a Sunday)
You're welcome 😃

FYI our Sunday is like your Monday. It's the first business day of the week 😄

I noticed that there is some complexity getting syslog to work. I managed to solve that by setting dev_env=True in the LOGGING setting: https://github.com/regisb/openedx-docker/blob/master/lms/production.py Did you know about that trick?

It's been a long time. Perhaps I chose not to change the platform as much as possible. But looks like your approach is better.

from tutor.

gsong avatar gsong commented on August 16, 2024

Love seeing the collaboration here. I haven't had time to pick up on this yet, but be sure it's on my radar. I spun up a generic Docker stack for Django/React development, although it's been a while since I've revisited so it doesn't incorporate my latest thinking around Docker: https://github.com/gsong/modern-devstack.

from tutor.

regisb avatar regisb commented on August 16, 2024

This issue can be closed, now that the 1-click install is working.

from tutor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.