我尝试在 Ubuntu 服务器上安装 Discourse。每个命令都成功执行,直到 bundle exec rake autospec 这个命令卡住。如果我跳过之前的命令直接运行 bundle exec rails server,它可以运行,但我无法在 3000 端口访问门户。
我正在遵循以下步骤:
我尝试在 Ubuntu 服务器上安装 Discourse。每个命令都成功执行,直到 bundle exec rake autospec 这个命令卡住。如果我跳过之前的命令直接运行 bundle exec rails server,它可以运行,但我无法在 3000 端口访问门户。
我正在遵循以下步骤:
Try:
RAILS_ENV=development bundle exec rails server --binding=0.0.0.0
How much RAM do you have? What does
free -h
say?
What are the minimum system requirements for discourse setup?
1GB of RAM with SWAP, I think you need at least 2GB of SWAP.
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.
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?
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.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.