Discourse on local pc

Hi to all, how can I install Discourse on my local ubuntu pc for test purposes many thanks.

3 Likes

You can also go this way with a Docker based install (that’s surprisingly performant on WSL for example)

2 Likes

I have started to installing i got to this command ‘bundle exec rake autospec’
taking long time ready 20 mins since this command given is that normal ?

Ok after 29 mins i got this screen and not doing anything else , what shall i do next thanks.

This is not mandatory, it’s just running the unit test bundled with Discourse.

Looks like a few tests failed in your case, I would not be too concerned.

Move on and run the server.

1 Like

Very strange when i started the local server this what said Screenshot from 2021-08-26 15-14-04

then i have give that command then i get this error

Not strange at all, this is a super modern feature. You need to run back-end server and ember front end server simultaneously in this mode.

Alternatively you can run without Ember-CLI like so:

NO_EMBER_CLI=1 UNICORN_BIND_ALL=TRUE bin/rails s

Looks like you need to update node to a more modern version.

4 Likes

Thanks All up and running now :clap:

1 Like

Just to add that the modern way of doing this now is:

bin/ember-cli -u

Which runs both rails and ember simultaneously

(In case anyone finds this)

2 Likes

Hm. Running into

Also using the old way described above.