أحاول تثبيت Discourse على خادم Ubuntu. كل الأوامر تنجح باستثناء الأمر التالي الذي يتوقف: bundle exec rake autospec. إذا قمت بتشغيل bundle exec rails server بتجاوز الأمر السابق، فإنه يعمل، لكنني لا أستطيع الوصول إلى البوابة على المنفذ 3000.
أتبع الخطوات المذكورة هنا:
This guide covers installation instructions in a development environment. For a production guide see: Install Discourse in production with the official supported instructions
So you want to set up Discourse on Ubuntu or Debian to hack on and develop with?
We’ll assume that you work locally and don’t have Ruby/Rails/Postgres/Redis installed on your Ubuntu or Debian system. Let’s begin!
Requirements
We suggest having at least 4 GB RAM and 2 CPU cores.
Current compatibility:
O…
Try:
RAILS_ENV=development bundle exec rails server --binding=0.0.0.0
This is the issue i guess, But I am not sure how to resolve this. Anyone??
pfaffman
(Jay Pfaffman)
22 مايو 2019، 11:14ص
4
How much RAM do you have? What does
free -h
say?
What are the minimum system requirements for discourse setup?
marianord
(Mariano Rodriguez)
22 مايو 2019، 12:34م
7
1GB of RAM with SWAP, I think you need at least 2GB of SWAP.
pfaffman
(Jay Pfaffman)
22 مايو 2019، 12:48م
8
That’s true for a docker install, but a development install will likely need more than that.
Do you need a development setup?
You might try Beginners Guide to Install Discourse for Development using Docker , but if you want to do development you’ll likely want at least 4gb.
justin
(Justin DiRose)
22 مايو 2019، 1:31م
9
I’ve run development environments off the DO $5 droplet and they work just fine. Not fast but not unbearable either. CPU speed is probably more important.
@Vishal_Kaushik do you have anything else running on this server? And is it a cloud server or something local?
إعجابَين (2)
I asked my devops guy to create a new instance with better specs and it worked fine on it. Thank you all for the help.
إعجابَين (2)
system
(system)
تم إغلاقه في
21 يونيو 2019، 1:37م
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.