Comments (7)
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.
Pong @regisb!
Review is in progress...
from tutor.
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.
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.
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.
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.
This issue can be closed, now that the 1-click install is working.
from tutor.
Related Issues (20)
- Add ability to patch proxy config in Caddy
- On Windows `tutor dev start` fails because of "Permission denied"
- edx-enterprise migration missing HOT 1
- Autocomplete failed after installing plugin HOT 1
- Do not apply git patches when using a brach based on but different than master while using Tutor Nightly
- K8S: Unable to view logs when we have running more than 5 pods of service
- Supply MySQL 8.2 or 8.3 by default HOT 2
- I just want to install this with Docker-compose I don't need a special magical configurator. HOT 2
- Redwood sandbox preparation HOT 14
- Installing tutor latest (17.04) HOT 2
- Compose `version` property is obsolete HOT 2
- Security patching for Quince HOT 6
- tutor build image openedx fails HOT 3
- Possible memory leak in watchtheme HOT 6
- Upgrading from tutor 15 to tutor 18 breaks the MySQL connection due to the mysql_native_password authentication plugin not being found HOT 1
- Migrate to Python images instead of ubuntu in Tutor dockerfiles HOT 2
- Add instructions/do command to switch mysql user auth to caching_sha2_password
- Tutor branches rename
- settheme command just creates site objects
- Installing fresh XBlock with mentioned approach failes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutor.