levi45
(levi45)
26 Agosto 2021, 12:19pm
1
Hi to all, how can I install Discourse on my local ubuntu pc for test purposes many thanks.
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 Mi Piace
levi45
(levi45)
26 Agosto 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 Agosto 2021, 1:56pm
5
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 Mi Piace
levi45
(levi45)
26 Agosto 2021, 2:20pm
7
Very strange when i started the local server this what said
levi45
(levi45)
26 Agosto 2021, 2:20pm
8
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 Mi Piace
levi45
(levi45)
26 Agosto 2021, 2:45pm
10
Thanks All up and running now
1 Mi Piace
merefield
(Robert)
29 Novembre 2023, 8:02am
11
Per aggiungere che il modo moderno di farlo ora è:
bin/ember-cli -u
Che esegue sia rails che ember contemporaneamente
(Nel caso qualcuno lo trovi)
2 Mi Piace
thoka
(Thomas Kalka)
29 Novembre 2023, 8:20am
12
Hm. Mi imbatto in
Sto anche usando il vecchio modo descritto sopra.