levi45
(levi45)
26. August 2021 um 12:19
1
Hi to all, how can I install Discourse on my local ubuntu pc for test purposes many thanks.
merefield
(Robert)
26. August 2021 um 13:07
3
You can also go this way with a Docker based install (that’s surprisingly performant on WSL for example)
Developing using Docker
Since Discourse runs in Docker, you should be able to run Discourse directly from your source directory using a Discourse development container.
Pros: No need to install any system dependencies, no configuration needed at all for setting up a development environment quickly.
Cons: Will be slightly slower than the native dev environment on Ubuntu, and much slower than a native install on MacOS.
Step 1: Install Docker
Ubuntu
curl -fsSL https:/…
2 „Gefällt mir“
levi45
(levi45)
26. August 2021 um 13:51
4
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 ?
levi45
(levi45)
26. August 2021 um 13:56
5
Ok after 29 mins i got this screen and not doing anything else , what shall i do next thanks.
merefield
(Robert)
26. August 2021 um 13:57
6
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 „Gefällt mir“
levi45
(levi45)
26. August 2021 um 14:20
7
Very strange when i started the local server this what said
levi45
(levi45)
26. August 2021 um 14:20
8
then i have give that command then i get this error
merefield
(Robert)
26. August 2021 um 14:30
9
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 „Gefällt mir“
levi45
(levi45)
26. August 2021 um 14:45
10
Thanks All up and running now
1 „Gefällt mir“
merefield
(Robert)
29. November 2023 um 08:02
11
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 „Gefällt mir“
thoka
(Thomas Kalka)
29. November 2023 um 08:20
12
Hm. Running into
Also using the old way described above.