If there is anything you would like me to change, please comment. This section of the guide assumes you have already installed Elastic Search from the previous article.
Prerequisites
Update your package lists by typing:
$ sudo apt-get update
Install the development version of libcurl4 by typing:
$ sudo apt-get install libcurl4 libcurl4-openssl-dev -y
Installing Forem
Clone 'Forem' from the source repository into '~/forem' by typing:
$ git clone https://github.com/forem/forem.git ~/forem
$ cd ~/forem
Install bundler by typing:
$ gem install bundler
Create 'application.yml' from the sample template (sample_application.yml). To do so, type:
$ cp .env_sample .env
Run the ruby 'setup' file:
$ bin/setup
Verify Forem is installed by typing:
$ bin/startup
The output will be something like this:
== STARTING UP ==
14:05:32 web.1 | started with pid 68343
14:05:32 webpacker.1 | started with pid 68344
14:05:32 sidekiq.1 | started with pid 68345
14:05:37 webpacker.1 | ℹ 「wds」: Project is running at http://0.0.0.0:3035/
14:05:37 webpacker.1 | ℹ 「wds」: webpack output is served from /packs/
14:05:37 webpacker.1 | ℹ 「wds」: Content not from webpack is served from /home/hackhex/forem/public/packs
14:05:37 webpacker.1 | ℹ 「wds」: 404s will fallback to /index.html
Discussion
cp ./config/sample_application.yml ./config/application.yml
This command has been updated tocp .env_sample .env
in the Forem documentation.So try to check it and if required update this guide accordingly. I updated it in Forem in Docker Guide, to stay authentic to Forem guide.
Missed that part! Thank you for the correction. :)