levi45
(levi45)
26 באוגוסט, 2021, 12:19pm
1
Hi to all, how can I install Discourse on my local ubuntu pc for test purposes many thanks.
merefield
(Robert)
26 באוגוסט, 2021, 1:07pm
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 לייקים
levi45
(levi45)
26 באוגוסט, 2021, 1:51pm
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 באוגוסט, 2021, 1:56pm
5
Ok after 29 mins i got this screen and not doing anything else , what shall i do next thanks.
merefield
(Robert)
26 באוגוסט, 2021, 1:57pm
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
levi45
(levi45)
26 באוגוסט, 2021, 2:20pm
7
Very strange when i started the local server this what said
levi45
(levi45)
26 באוגוסט, 2021, 2:20pm
8
then i have give that command then i get this error
merefield
(Robert)
26 באוגוסט, 2021, 2:30pm
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 לייקים
levi45
(levi45)
26 באוגוסט, 2021, 2:45pm
10
Thanks All up and running now
לייק 1
merefield
(Robert)
29 בנובמבר, 2023, 8:02am
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 לייקים
thoka
(Thomas Kalka)
29 בנובמבר, 2023, 8:20am
12
Hm. Running into
Also using the old way described above.