On my development box, I find myself needing multiple instances. One site I’m importing is on stable, others use importers that I am developing. Right now what I do is when switching jobs, I switch branches in git and run a script that does
It’s really annoying when I’ve, say, run an importer that takes several hours and then want to run it again with updated input (and not have to re-import the whole thing).
Is there something different I should be doing? Perhaps I should run separate instances with Vagrant? Contrive to tell Discourse to use a different database for each different job?
عذرًا على الرد على موضوع قديم جدًا. هل تمكنت من جعل هذا يعمل؟ حالة الاستخدام الخاصة بي هي الرغبة في إجراء بعض الاختبارات لإعداد شبكة من مواقع Discourse، حيث تعمل بعض المواقع كموفري DiscourseConnect ومواقع أخرى تعمل كعملاء DiscourseConnect. يمكنني إعداد مواقع إنتاج متعددة لهذا الغرض، ولكن سيكون من الرائع أن تكون المواقع موجودة على جهاز الكمبيوتر المحلي الخاص بي.
سيكون من الصعب جدًا تشغيل DiscourseConnect (على الأقل كمصدر، والذي يحتاج إلى عنوان URL) في بيئة التطوير. إذا كنت جيدًا في ألعاب DNS هذه (مثل توجيه هذه عبر جدار الحماية الخاص بك؟)، فلا شيء يمنعك من تشغيل مواقع إنتاج متعددة على جهازك المحلي.