I am trying to install discourse on an ubuntu server. Every command is successful until this command which gets stuck : bundle exec rake autospec
. If I run bundle exec rails server
by skipping previous command, it runs but I am not able to access the portal on port 3000.
I am folowing steps mentioned here :
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:
…
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. Mai 2019 um 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. Mai 2019 um 12:34
7
1GB of RAM with SWAP, I think you need at least 2GB of SWAP.
pfaffman
(Jay Pfaffman)
22. Mai 2019 um 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. Mai 2019 um 13: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 „Gefällt mir“
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 „Gefällt mir“
system
(system)
Geschlossen,
21. Juni 2019 um 13:37
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.